* gnu/packages/algebra.scm (gp2c): New variable.
@ -125,6 +125,38 @@ PARI is also available as a C library to allow for faster computations.")
(inputs `(("pari-gp" ,pari-gp)))
(list (string-append "--with-paricfg="
(assoc-ref %build-inputs "pari-gp")
(synopsis "PARI/GP, a computer algebra system for number theory")
"PARI/GP is a widely used computer algebra system designed for fast
computations in number theory (factorisations, algebraic number theory,
elliptic curves...), but it also contains a large number of other useful
functions to compute with mathematical entities such as matrices,
polynomials, power series, algebraic numbers, etc., and a lot of
PARI is also available as a C library to allow for faster computations.
GP2C, the GP to C compiler, translates GP scripts to PARI programs.")