guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/66: gnu: samtools: Install libbam.a library.


From: Manolis Fragkiskos Ragkousis
Subject: 32/66: gnu: samtools: Install libbam.a library.
Date: Thu, 21 May 2015 12:51:58 +0000

phant0mas pushed a commit to branch wip-hurd
in repository guix.

commit 4aede5f495b6dd106ff5c7097e74fec739d5969e
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Apr 23 16:42:50 2015 +0200

    gnu: samtools: Install libbam.a library.
    
    * gnu/packages/bioinformatics.scm (samtools)[arguments]: Add phase
      "install-library" to install the libbam.a library.
---
 gnu/packages/bioinformatics.scm |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9db8fa4..6fc2bee 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1086,9 +1086,13 @@ distribution, coverage uniformity, strand specificity, 
etc.")
               ;; them.
               (("(test_usage_subcommand\\(.*\\);)" cmd)
                (string-append "unless ($subcommand eq 'stats') {" cmd "};")))))
-        (alist-delete
-         'configure
-         %standard-phases))))
+        (alist-cons-after
+         'install 'install-library
+         (lambda* (#:key outputs #:allow-other-keys)
+           (let ((lib (string-append (assoc-ref outputs "out") "/lib")))
+             (mkdir-p lib)
+             (copy-file "libbam.a" (string-append lib "/libbam.a"))))
+         (alist-delete 'configure %standard-phases)))))
     (native-inputs `(("pkg-config" ,pkg-config)))
     (inputs `(("ncurses" ,ncurses)
               ("perl" ,perl)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]