me
/
guix
Archived
1
0
Fork 0

gnu: wfa2-lib: Install pkg-config file.

* gnu/packages/bioinformatics.scm (wfa2-lib)[arguments]: Install libwfa2.pc.
master
Ricardo Wurmus 2023-04-27 11:37:36 +02:00
parent 9d82c475a3
commit 479f2558fe
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 23 additions and 0 deletions

View File

@ -17167,6 +17167,29 @@ library automatically handles index file generation and use.")
(sha256 (sha256
(base32 "110s1s79z8ndjs4qdgmrj708iiaqyagia3gi2fxak101lg263diw")))) (base32 "110s1s79z8ndjs4qdgmrj708iiaqyagia3gi2fxak101lg263diw"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
;; This pkg-config file is provided by other distributions.
(add-after 'install 'install-pkg-config-file
(lambda _
(let ((pkgconfig (string-append #$output "/lib/pkgconfig")))
(mkdir-p pkgconfig)
(with-output-to-file (string-append pkgconfig "/libwfa2.pc")
(lambda _
(format #t "\
prefix=~a~@
exec_prefix=${prefix}~@
libdir=${exec_prefix}/lib~@
includedir=${prefix}/include/wfa2lib~@
~@
Name: libwfa2~@
Version: ~a~@
Description: Wavefront alignment algorithm library~@
Libs: -L${libdir} -lwfa2 -lwfa2cpp~@
Cflags: -I${includedir}~%"
#$output #$version)))))))))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(home-page "https://github.com/smarco/WFA2-lib") (home-page "https://github.com/smarco/WFA2-lib")