diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /sci-mathematics/gp2c/gp2c-0.0.12.ebuild | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'sci-mathematics/gp2c/gp2c-0.0.12.ebuild')
-rw-r--r-- | sci-mathematics/gp2c/gp2c-0.0.12.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
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" +} |