gnu: flint: Rewrite using the modify-phases syntax.

* gnu/packages/algebra.scm (flint)[arguments]: Rewrite the phases using
  the modify-phases syntax.
This commit is contained in:
Andreas Enge 2015-08-14 17:04:08 +02:00
parent c2099a4c82
commit 91430de6df
1 changed files with 18 additions and 19 deletions

View File

@ -203,8 +203,8 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
("mpfr" ,mpfr))) ; header files from both are included by flint/arith.h
(arguments
`(#:phases
(alist-replace
'configure
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(gmp (assoc-ref inputs "gmp"))
@ -220,8 +220,7 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
"./configure"
(string-append "--prefix=" out)
(string-append "--with-gmp=" gmp)
(string-append "--with-mpfr=" mpfr)))))
%standard-phases)))
(string-append "--with-mpfr=" mpfr)))))))))
(synopsis "Fast library for number theory")
(description
"FLINT is a C library for number theory. It supports arithmetic