[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/22: gnu: seek: Use INVOKE.
From: |
Ricardo Wurmus |
Subject: |
17/22: gnu: seek: Use INVOKE. |
Date: |
Thu, 8 Nov 2018 04:11:14 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit a9542937c8361b3aabda482bfdb40b07d92fba86
Author: Ricardo Wurmus <address@hidden>
Date: Thu Nov 8 09:54:22 2018 +0100
gnu: seek: Use INVOKE.
* gnu/packages/bioinformatics.scm (seek)[arguments]: Use INVOKE and return
#T
unconditionally; patch "gen_tools_am" shebang in "bootstrap" phase.
---
gnu/packages/bioinformatics.scm | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c175227..1ceb40c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5057,21 +5057,24 @@ distribution, coverage uniformity, strand specificity,
etc.")
(modify-phases %standard-phases
(replace 'bootstrap
(lambda _
- (invoke "bash" "gen_auto")))
+ (substitute* "gen_tools_am"
+ (("/usr/bin/env.*") (which "perl")))
+ (invoke "bash" "gen_auto")
+ #t))
(add-after 'build 'build-additional-tools
(lambda* (#:key make-flags #:allow-other-keys)
- (every (lambda (dir)
- (with-directory-excursion (string-append "tools/"
dir)
- (zero? (apply system* "make" make-flags))))
- dirs)))
+ (for-each (lambda (dir)
+ (with-directory-excursion (string-append "tools/"
dir)
+ (apply invoke "make" make-flags)))
+ dirs)
+ #t))
(add-after 'install 'install-additional-tools
(lambda* (#:key make-flags #:allow-other-keys)
- (fold (lambda (dir result)
- (with-directory-excursion (string-append "tools/" dir)
- (and result
- (zero? (apply system*
- `("make" ,@make-flags
"install"))))))
- #t dirs)))))))
+ (for-each (lambda (dir)
+ (with-directory-excursion (string-append "tools/"
dir)
+ (apply invoke `("make" ,@make-flags
"install"))))
+ dirs)
+ #t))))))
(inputs
`(("gsl" ,gsl)
("boost" ,boost)
- branch master updated (c098c49 -> 4e82946), Ricardo Wurmus, 2018/11/08
- 04/22: gnu: mash: Remove custom autoconf phase., Ricardo Wurmus, 2018/11/08
- 02/22: gnu: java-picard-1.113: Use INVOKE., Ricardo Wurmus, 2018/11/08
- 10/22: gnu: ngs-sdk: Use INVOKE., Ricardo Wurmus, 2018/11/08
- 17/22: gnu: seek: Use INVOKE.,
Ricardo Wurmus <=
- 05/22: gnu: newick-utils: Remove custom autoconf phase., Ricardo Wurmus, 2018/11/08
- 20/22: gnu: pcc: Use INVOKE., Ricardo Wurmus, 2018/11/08
- 16/22: gnu: sailfish: Use INVOKE., Ricardo Wurmus, 2018/11/08
- 07/22: gnu: sra-tools: Use INVOKE., Ricardo Wurmus, 2018/11/08
- 14/22: gnu: sra-tools: Update to 2.9.3., Ricardo Wurmus, 2018/11/08
- 11/22: gnu: ngs-sdk: Update to 2.9.3., Ricardo Wurmus, 2018/11/08
- 12/22: gnu: ncbi-vdb: Update to 2.9.3., Ricardo Wurmus, 2018/11/08
- 08/22: gnu: taxtastic: Use INVOKE., Ricardo Wurmus, 2018/11/08
- 09/22: gnu: emboss: Use INVOKE., Ricardo Wurmus, 2018/11/08
- 01/22: gnu: fraggenescan: Use INVOKE., Ricardo Wurmus, 2018/11/08