# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="a package to compute special values of symmetric power elliptic curve L-functions" HOMEPAGE="http://www.maths.bris.ac.uk/%7Emamjw/" SRC_URI="http://www.maths.bris.ac.uk/%7Emamjw/${PN}.tar.bz2" RESTRICT="mirror" LICENSE="BSD" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64 ~ppc64" IUSE="" DEPEND="sci-mathematics/pari" RDEPEND="${DEPEND}" S="${WORKDIR}/SYMPOW-1.019" src_compile() { cd "${S}" sh Configure emake || die "make failed" } src_install() { dodir "/usr/lib/${PN}" dodir "/usr/bin" cd "${S}" cp sympow "${D}/usr/lib/${PN}/" cp new_data "${D}/usr/lib/${PN}/" cp *.gp "${D}/usr/lib/${PN}/" cp -r datafiles "${D}/usr/lib/${PN}/" chmod 0777 "${D}/usr/lib/${PN}/datafiles/" chmod 0666 "${D}/usr/lib/${PN}/datafiles/param_data" dodoc README cp "${FILESDIR}/sympow.sh" "${D}/usr/bin/sympow" }