gnu: f-seq: Fix location of commons-cli.jar.
* gnu/packages/bioinformatics.scm (f-seq)[arguments]: Fix location of commons-cli.jar in the wrapper script.
This commit is contained in:
parent
39427f9042
commit
c0770feedd
|
@ -10035,13 +10035,18 @@ browser.")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key 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/")))
|
(doc (string-append target "/share/doc/f-seq/")))
|
||||||
(mkdir-p target)
|
(mkdir-p target)
|
||||||
(mkdir-p doc)
|
(mkdir-p doc)
|
||||||
(substitute* "bin/linux/fseq"
|
(substitute* "bin/linux/fseq"
|
||||||
(("java") (which "java")))
|
(("java") (which "java"))
|
||||||
|
(("\\$REALDIR/../lib/commons-cli-1.1.jar")
|
||||||
|
(string-append (assoc-ref inputs "java-commons-cli")
|
||||||
|
"/share/java/commons-cli.jar"))
|
||||||
|
(("REALDIR=.*")
|
||||||
|
(string-append "REALDIR=" target "/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" (string-append target "/bin"))
|
||||||
(install-file "build~/fseq.jar" (string-append target "/lib"))
|
(install-file "build~/fseq.jar" (string-append target "/lib"))
|
||||||
|
|
Loading…
Reference in New Issue