gnu: aragorn: Use invoke and simplify.
* gnu/packages/bioinformatics.scm (aragorn)[arguments]: Use INVOKE in build phase; simplify install phase.
This commit is contained in:
parent
8b4102b903
commit
95758e2faf
|
@ -136,24 +136,23 @@
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "gcc"
|
(invoke "gcc"
|
||||||
"-O3"
|
"-O3"
|
||||||
"-ffast-math"
|
"-ffast-math"
|
||||||
"-finline-functions"
|
"-finline-functions"
|
||||||
"-o"
|
"-o"
|
||||||
"aragorn"
|
"aragorn"
|
||||||
(string-append "aragorn" ,version ".c")))))
|
(string-append "aragorn" ,version ".c"))
|
||||||
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(bin (string-append out "/bin"))
|
(bin (string-append out "/bin"))
|
||||||
(man (string-append out "/share/man/man1")))
|
(man (string-append out "/share/man/man1")))
|
||||||
(mkdir-p bin)
|
(install-file "aragorn" bin)
|
||||||
(install-file "aragorn" bin)
|
(install-file "aragorn.1" man))
|
||||||
(mkdir-p man)
|
#t)))))
|
||||||
(install-file "aragorn.1" man))
|
|
||||||
#t)))))
|
|
||||||
(home-page "http://mbio-serv2.mbioekol.lu.se/ARAGORN")
|
(home-page "http://mbio-serv2.mbioekol.lu.se/ARAGORN")
|
||||||
(synopsis "Detect tRNA, mtRNA and tmRNA genes in nucleotide sequences")
|
(synopsis "Detect tRNA, mtRNA and tmRNA genes in nucleotide sequences")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in New Issue