gnu: f-seq: Factorise ‘install’ phase.
* gnu/packages/bioinformatics.scm (f-seq)[arguments]: Let-bind more.
This commit is contained in:
parent
7c2a46461e
commit
c61d822621
|
@ -11550,7 +11550,9 @@ browser.")
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((target (assoc-ref outputs "out"))
|
(let* ((target (assoc-ref outputs "out"))
|
||||||
(doc (string-append target "/share/doc/f-seq/")))
|
(bin (string-append target "/bin"))
|
||||||
|
(doc (string-append target "/share/doc/f-seq"))
|
||||||
|
(lib (string-append target "/lib")))
|
||||||
(mkdir-p target)
|
(mkdir-p target)
|
||||||
(mkdir-p doc)
|
(mkdir-p doc)
|
||||||
(substitute* "bin/linux/fseq"
|
(substitute* "bin/linux/fseq"
|
||||||
|
@ -11559,11 +11561,11 @@ browser.")
|
||||||
(string-append (assoc-ref inputs "java-commons-cli")
|
(string-append (assoc-ref inputs "java-commons-cli")
|
||||||
"/share/java/commons-cli.jar"))
|
"/share/java/commons-cli.jar"))
|
||||||
(("REALDIR=.*")
|
(("REALDIR=.*")
|
||||||
(string-append "REALDIR=" target "/bin\n")))
|
(string-append "REALDIR=" bin "\n")))
|
||||||
(install-file "README.txt" doc)
|
(install-file "README.txt" doc)
|
||||||
(install-file "bin/linux/fseq" (string-append target "/bin"))
|
(install-file "bin/linux/fseq" bin)
|
||||||
(install-file "build~/fseq.jar" (string-append target "/lib"))
|
(install-file "build~/fseq.jar" lib)
|
||||||
(copy-recursively "lib" (string-append target "/lib"))
|
(copy-recursively "lib" lib)
|
||||||
#t))))))
|
#t))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("perl" ,perl)
|
`(("perl" ,perl)
|
||||||
|
|
Loading…
Reference in New Issue