aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2022-04-19 21:37:20 +0300
committerEfraim Flashner2022-04-20 16:14:55 +0300
commit542199cace8de3fd78bdcf85dd133b13b2fde2a7 (patch)
tree64d70af29813021356c9978e0b1bd28c3d30f5a2
parent6351e1d976ed427e7e627dec18ef462833618400 (diff)
downloadguix-bioinformatics-542199cace8de3fd78bdcf85dd133b13b2fde2a7.tar.gz
gn: wfa2-lib: Install headers.
-rw-r--r--gn/packages/bioinformatics.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index 67b2270..522a879 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -3185,7 +3185,12 @@ of π and dxy in the face of missing data (i.e. always).")
(find-files "bin"))
(for-each
(cut install-file <> (string-append #$output "/lib"))
- (find-files "lib")))))))
+ (find-files "lib"))
+ (for-each
+ (lambda (file)
+ (mkdir-p (string-append #$output "/include/wfa2-lib/" (dirname file)))
+ (copy-file file (string-append #$output "/include/wfa2-lib/" file)))
+ (find-files "." "\\.(h|hpp)$")))))))
(home-page "https://github.com/smarco/WFA2-lib")
(synopsis "Wavefront alignment algorithm library")
(description "The @acronym{wavefront alignment, WFA} algorithm is an exact