3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: vcflib: Install pkgconfig file.

* gnu/packages/bioinformatics.scm (vcflib)[arguments]: Adjust custom
'install phase to add vcflib.pc.
This commit is contained in:
Efraim Flashner 2020-08-27 18:16:01 +03:00
parent 6d8dd5bad7
commit e8bbb29b59
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -15713,7 +15713,23 @@ library automatically handles index file generation and use.")
(for-each
(lambda (file)
(install-file file (string-append out "/include")))
(find-files "include" "\\.h(pp)?$")))
(find-files "include" "\\.h(pp)?$"))
(mkdir-p (string-append lib "/pkgconfig"))
(with-output-to-file (string-append lib "/pkgconfig/vcflib.pc")
(lambda _
(format #t "prefix=~a~@
exec_prefix=${prefix}~@
libdir=${exec_prefix}/lib~@
includedir=${prefix}/include~@
~@
~@
Name: libvcflib~@
Version: ~a~@
Requires: smithwaterman, fastahack~@
Description: C++ library for parsing and manipulating VCF files~@
Libs: -L${libdir} -lvcflib~@
Cflags: -I${includedir}~%"
out ,version))))
#t)))))
(home-page "https://github.com/vcflib/vcflib/")
(synopsis "Library for parsing and manipulating VCF files")