diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-04-23 16:42:50 +0200 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-05-04 10:28:26 +0200 |
commit | 41dd7126570d9d8699d228aa9e6c6d092be816e0 (patch) | |
tree | e47e95d0a5aecdc30483c44fdcd39cb90352f5bd /gnu/packages | |
parent | 0a75450c14c7e9639099ec470b037795bb6f8f50 (diff) | |
download | patches-41dd7126570d9d8699d228aa9e6c6d092be816e0.tar patches-41dd7126570d9d8699d228aa9e6c6d092be816e0.tar.gz |
gnu: samtools: Install libbam.a library.
* gnu/packages/bioinformatics.scm (samtools)[arguments]: Add phase
"install-library" to install the libbam.a library.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | 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 9db8fa4d39..6fc2bee469 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) |