[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: aragorn: Use invoke and simplify.
From: |
Ricardo Wurmus |
Subject: |
04/09: gnu: aragorn: Use invoke and simplify. |
Date: |
Sat, 20 Oct 2018 17:40:11 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 95758e2faf7bb96d8df270d37bf71d52cbd4270c
Author: Ricardo Wurmus <address@hidden>
Date: Sat Oct 20 21:34:20 2018 +0200
gnu: aragorn: Use invoke and simplify.
* gnu/packages/bioinformatics.scm (aragorn)[arguments]: Use INVOKE in build
phase; simplify install phase.
---
gnu/packages/bioinformatics.scm | 33 ++++++++++++++++-----------------
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3f50ce0..56a566f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -136,24 +136,23 @@
(modify-phases %standard-phases
(delete 'configure)
(replace 'build
- (lambda _
- (zero? (system* "gcc"
- "-O3"
- "-ffast-math"
- "-finline-functions"
- "-o"
- "aragorn"
- (string-append "aragorn" ,version ".c")))))
+ (lambda _
+ (invoke "gcc"
+ "-O3"
+ "-ffast-math"
+ "-finline-functions"
+ "-o"
+ "aragorn"
+ (string-append "aragorn" ,version ".c"))
+ #t))
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (man (string-append out "/share/man/man1")))
- (mkdir-p bin)
- (install-file "aragorn" bin)
- (mkdir-p man)
- (install-file "aragorn.1" man))
- #t)))))
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (man (string-append out "/share/man/man1")))
+ (install-file "aragorn" bin)
+ (install-file "aragorn.1" man))
+ #t)))))
(home-page "http://mbio-serv2.mbioekol.lu.se/ARAGORN")
(synopsis "Detect tRNA, mtRNA and tmRNA genes in nucleotide sequences")
(description
- branch master updated (bfa47f1 -> 21c8374), Ricardo Wurmus, 2018/10/20
- 03/09: gnu: clipper: Update to 1.2.1., Ricardo Wurmus, 2018/10/20
- 08/09: gnu: blast+: Use INVOKE and return #T unconditionally., Ricardo Wurmus, 2018/10/20
- 09/09: gnu: bowtie: Update to 2.3.4.3., Ricardo Wurmus, 2018/10/20
- 01/09: gnu: Add bedtools-2.26., Ricardo Wurmus, 2018/10/20
- 06/09: gnu: bedops: Use INVOKE., Ricardo Wurmus, 2018/10/20
- 04/09: gnu: aragorn: Use invoke and simplify.,
Ricardo Wurmus <=
- 02/09: gnu: python-pybedtools: Update to 0.7.10., Ricardo Wurmus, 2018/10/20
- 05/09: gnu: bamm: Fetch from git and use INVOKE., Ricardo Wurmus, 2018/10/20
- 07/09: gnu: bedops: Update to 2.4.35., Ricardo Wurmus, 2018/10/20