mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: samtools: Install libbam.a library.
* gnu/packages/bioinformatics.scm (samtools)[arguments]: Add phase "install-library" to install the libbam.a library.
This commit is contained in:
parent
0a75450c14
commit
41dd712657
1 changed files with 7 additions and 3 deletions
|
@ -1086,9 +1086,13 @@ (define-public samtools
|
||||||
;; them.
|
;; them.
|
||||||
(("(test_usage_subcommand\\(.*\\);)" cmd)
|
(("(test_usage_subcommand\\(.*\\);)" cmd)
|
||||||
(string-append "unless ($subcommand eq 'stats') {" cmd "};")))))
|
(string-append "unless ($subcommand eq 'stats') {" cmd "};")))))
|
||||||
(alist-delete
|
(alist-cons-after
|
||||||
'configure
|
'install 'install-library
|
||||||
%standard-phases))))
|
(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)))
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
(inputs `(("ncurses" ,ncurses)
|
(inputs `(("ncurses" ,ncurses)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
|
|
Loading…
Reference in a new issue