gentoo/sci-mathematics/gp2c/gp2c-0.0.14.ebuild
Michael Orlitzky be3960c607
sci-mathematics/gp2c: add 0.0.14
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2025-08-08 08:25:31 -04:00

29 lines
751 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
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}"
src_configure() {
econf --with-paricfg="${EPREFIX}/usr/share/pari/pari.cfg"
}