[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: f-seq: Factorise ‘install’ phase.
From: |
Tobias Geerinckx-Rice |
Subject: |
10/11: gnu: f-seq: Factorise ‘install’ phase. |
Date: |
Fri, 18 May 2018 23:31:10 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit c61d822621df97f7d30915ff1d30ac3d34179b88
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri May 18 15:17:33 2018 +0200
gnu: f-seq: Factorise ‘install’ phase.
* gnu/packages/bioinformatics.scm (f-seq)[arguments]: Let-bind more.
---
gnu/packages/bioinformatics.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8bfe01f..a6d28be 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11550,7 +11550,9 @@ browser.")
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(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 doc)
(substitute* "bin/linux/fseq"
@@ -11559,11 +11561,11 @@ browser.")
(string-append (assoc-ref inputs "java-commons-cli")
"/share/java/commons-cli.jar"))
(("REALDIR=.*")
- (string-append "REALDIR=" target "/bin\n")))
+ (string-append "REALDIR=" bin "\n")))
(install-file "README.txt" doc)
- (install-file "bin/linux/fseq" (string-append target "/bin"))
- (install-file "build~/fseq.jar" (string-append target "/lib"))
- (copy-recursively "lib" (string-append target "/lib"))
+ (install-file "bin/linux/fseq" bin)
+ (install-file "build~/fseq.jar" lib)
+ (copy-recursively "lib" lib)
#t))))))
(inputs
`(("perl" ,perl)
- branch master updated (263c994 -> 54300cf), Tobias Geerinckx-Rice, 2018/05/18
- 01/11: gnu: fluidsynth: Update to 1.1.11., Tobias Geerinckx-Rice, 2018/05/18
- 04/11: gnu: qjackrcd: Use INVOKE., Tobias Geerinckx-Rice, 2018/05/18
- 08/11: gnu: r-modelr: Update to 0.1.2., Tobias Geerinckx-Rice, 2018/05/18
- 02/11: gnu: gsm: Update to 1.0.18., Tobias Geerinckx-Rice, 2018/05/18
- 07/11: gnu: perl-io-compress: Update to 2.081., Tobias Geerinckx-Rice, 2018/05/18
- 05/11: gnu: perl-compress-raw-zlib: Update to 2.081., Tobias Geerinckx-Rice, 2018/05/18
- 09/11: gnu: r-amap: Update to 0.8-16., Tobias Geerinckx-Rice, 2018/05/18
- 10/11: gnu: f-seq: Factorise ‘install’ phase.,
Tobias Geerinckx-Rice <=
- 03/11: gnu: cava: Update to 0.6.1., Tobias Geerinckx-Rice, 2018/05/18
- 06/11: gnu: perl-compress-raw-bzip2: Update to 2.081., Tobias Geerinckx-Rice, 2018/05/18
- 11/11: gnu: xterm: Update to 333., Tobias Geerinckx-Rice, 2018/05/18