# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="different implementations of the floating-point LLL reduction algorithm" HOMEPAGE="http://perso.ens-lyon.fr/damien.stehle/english.html" SRC_URI="http://perso.ens-lyon.fr/damien.stehle/downloads/${P}.tgz" #### Remove the following line when moving this ebuild to the main tree! RESTRICT="mirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="" S="${PN}-2.1" DEPEND=">=dev-libs/gmp-4.2.1 >=dev-libs/mpfr-2.1.1" RDEPEND="${DEPEND}" src_compile(){ # sage puts the header in a fplll subfolder, there are 2 reasons # to do it on our side. (1) compatibility, no need for patching. # (2) it avoids a collision with m4ri. (matrix.h) econf "--includedir=/usr/include/fplll" || die "configure failed" emake || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "Install failed" dodoc README } pkg_postinst() { elog "The gdmodule ebuild is still under development." elog "Help us improve the ebuild in:" elog "http://bugs.gentoo.org/show_bug.cgi?id=230427" }