diff options
author | 2006-11-07 13:12:25 +0000 | |
---|---|---|
committer | 2006-11-07 13:12:25 +0000 | |
commit | 710cb4d15885dc94c972ab86223d1c66db8c0b63 (patch) | |
tree | 0a95c8d82fcba35e34e9664bc9caf42545cbf83b /dev-perl/math-pari/math-pari-2.010709.ebuild | |
parent | Added ~ppc, bug #154341 (diff) | |
download | historical-710cb4d15885dc94c972ab86223d1c66db8c0b63.tar.gz historical-710cb4d15885dc94c972ab86223d1c66db8c0b63.tar.bz2 historical-710cb4d15885dc94c972ab86223d1c66db8c0b63.zip |
Version bump
Package-Manager: portage-2.1.2_rc1-r3
Diffstat (limited to 'dev-perl/math-pari/math-pari-2.010709.ebuild')
-rw-r--r-- | dev-perl/math-pari/math-pari-2.010709.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-perl/math-pari/math-pari-2.010709.ebuild b/dev-perl/math-pari/math-pari-2.010709.ebuild new file mode 100644 index 000000000000..d04ca0a684b3 --- /dev/null +++ b/dev-perl/math-pari/math-pari-2.010709.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/math-pari/math-pari-2.010709.ebuild,v 1.1 2006/11/07 13:12:25 mcummings Exp $ + +inherit perl-module eutils + +MY_P="Math-Pari-${PV}" +S=${WORKDIR}/${MY_P} +DESCRIPTION="Perl interface to PARI" +HOMEPAGE="http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/${MY_P}.readme" +SRC_URI="mirror://cpan/authors/id/I/IL/ILYAZ/modules/${MY_P}.tar.gz + http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.1.7.tgz" + +LICENSE="|| ( Artistic GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="" + +SRC_TEST="do" + +# Math::Pari requires that a copy of the pari source in a parallel +# directory to where you build it. It does not need to compile it, but +# it does need to be the same version as is installed, hence the hard +# DEPEND below +DEPEND="~sci-mathematics/pari-2.1.7 + dev-lang/perl" + +src_compile() { + # Unfortunately the assembly routines math-pari has for SPARC do not appear + # to be working at current. Perl cannot test math-pari or anything that + # pulls in the math-pari module as DynaLoader cannot load the resulting + # .so files math-pari generates. As such, we have to use the generic + # non-machine specific assembly methods here. + use sparc && myconf="${myconf} machine=none" + + perl-module_src_compile +} |