sci-mathematics/gp2c - 0.0.15 (gentoo)

Search

Install

Install this version:

emerge -a =sci-mathematics/gp2c-0.0.15

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-mathematics/gp2c-0.0.15

Or alternatively:

emerge --autounmask-write -a =sci-mathematics/gp2c-0.0.15

Package Information

Description:
A GP to C translator
Homepage:
https://pari.math.u-bordeaux.fr/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
0.0.15 9 ~amd64 ~riscv 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

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"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"

# 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}"

src_configure() {
	econf --with-paricfg="${EPREFIX}/usr/share/pari/pari.cfg"
}

Dependencies

DEPEND

>=sci-mathematics/pari-2.11.2

RDEPEND

>=sci-mathematics/pari-2.11.2

BDEPEND

dev-lang/perl