# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 inherit versionator DESCRIPTION="C++ library for arithmetic and algebraic computations" HOMEPAGE="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/" MY_P=${PN}-$(get_version_component_range 1-2) SRC_URI="http://ljk.imag.fr/CASYS/LOGICIELS/givaro/Downloads/${MY_P}.tar.gz" #### Remove the following line when moving this ebuild to the main tree! RESTRICT="mirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~ppc64" IUSE="" RDEPEND=">=dev-libs/gmp-4.1-r1" DEPEND="${RDEPEND}" src_configure(){ econf "--enable-shared" || die "Configure failed!" } src_install() { emake DESTDIR="${D}" install || die "Install failed" } pkg_postinst() { elog "The givaro ebuild is still under development." elog "Help us improve the ebuild in:" elog "http://bugs.gentoo.org/show_bug.cgi?id=227803" }