diff options
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/gp2c/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/gp2c/gp2c-0.0.12.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/sci-mathematics/gp2c/Manifest b/sci-mathematics/gp2c/Manifest index f4c5bfc8cabd..a1a3fea7b962 100644 --- a/sci-mathematics/gp2c/Manifest +++ b/sci-mathematics/gp2c/Manifest @@ -1 +1,2 @@ DIST gp2c-0.0.11pl3.tar.gz 854003 BLAKE2B 478307b9fa56b8e58a66001bbeac3ce6193a446cb6a339bbd65de9105924fe92a0e9c39302d836c7f3e7d2fe100ac678514d4e7eef1bdb0b880cc55763002864 SHA512 06d3680da739ce13a0a80a88c7b07a9b336acecb95f4841d8e984f1d4b66ad0a3ffe47e2abb77ad7e564fa976d16c468d62e6ddc15ede3beba00db6d92a91d97 +DIST gp2c-0.0.12.tar.gz 872289 BLAKE2B c72f092a0a8e335e68d14f00970bd4794d883194718dd89cae760e06b5b89bd1b1959389d422b086f7862870e212662fc736f1f6720a389b9484ff360d9b8293 SHA512 9dd13c37e7ba36d75614249b6a2ff62350b5c02ba519b2c5d2dc49c36e9b6672134902b5f2e6b23f42fd4ff2069bdd12bd4694f324ddf814296bf8cbe5f10cdd diff --git a/sci-mathematics/gp2c/gp2c-0.0.12.ebuild b/sci-mathematics/gp2c/gp2c-0.0.12.ebuild new file mode 100644 index 000000000000..a723e8a4894a --- /dev/null +++ b/sci-mathematics/gp2c/gp2c-0.0.12.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${PN}-"$(ver_rs 3 'pl') +DESCRIPTION="A GP to C translator" +HOMEPAGE="https://pari.math.u-bordeaux.fr/" +SRC_URI="https://pari.math.u-bordeaux.fr/pub/pari/GP2C/${MY_P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +# Perl is run on the build host to compile the descriptions in desc/, +# see for example desc/Makefile.am. +BDEPEND="dev-lang/perl" + +# This is the first version of pari to put pari.cfg where we expect it. +DEPEND=">=sci-mathematics/pari-2.11.2" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf --with-paricfg="${EPREFIX}/usr/share/pari/pari.cfg" +} |