[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: multichoose: Install header files.
From: |
guix-commits |
Subject: |
03/04: gnu: multichoose: Install header files. |
Date: |
Sun, 17 Jan 2021 08:48:01 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 3ddeefe854a9f0fc3e33998f001e8445ee72a9f0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 17 15:15:47 2021 +0200
gnu: multichoose: Install header files.
* gnu/packages/bioinformatics.scm (multichoose)[arguments]: Adjust
'install phase to also install header files.
---
gnu/packages/bioinformatics.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 765d8e0..7326686 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14812,10 +14812,14 @@ some of the details of opening and jumping in
tabix-indexed files.")
(delete 'configure) ; There is no configure phase.
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
- (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (include (string-append out "/include")))
;; TODO: There are Python modules for these programs too.
(install-file "multichoose" bin)
- (install-file "multipermute" bin))
+ (install-file "multipermute" bin)
+ (install-file "multichoose.h" include)
+ (install-file "multipermute.h" include))
#t)))))
(home-page "https://github.com/ekg/multichoose")
(synopsis "Efficient loopless multiset combination generation algorithm")