gnu: vcflib: Add pkg-config file.
* gnu/packages/bioinformatics.scm (vcflib)[arguments]: Add phase to create pkg-config file.
This commit is contained in:
parent
d6a8148c8d
commit
1bbfe1789d
1 changed files with 22 additions and 1 deletions
|
@ -15083,6 +15083,27 @@ library automatically handles index file generation and use.")
|
||||||
(unpack "fsom-src" "fsom")
|
(unpack "fsom-src" "fsom")
|
||||||
(unpack "intervaltree-src" "intervaltree")
|
(unpack "intervaltree-src" "intervaltree")
|
||||||
(unpack "multichoose-src" "multichoose"))
|
(unpack "multichoose-src" "multichoose"))
|
||||||
|
#t)))
|
||||||
|
;; This pkg-config file is provided by other distributions.
|
||||||
|
(add-after 'install 'install-pkg-config-file
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(pkgconfig (string-append out "/lib/pkgconfig")))
|
||||||
|
(mkdir-p pkgconfig)
|
||||||
|
(with-output-to-file (string-append pkgconfig "/libvcflib.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} -llibvcflib~@
|
||||||
|
Cflags: -I${includedir}~%"
|
||||||
|
out ,version)))
|
||||||
#t))))))
|
#t))))))
|
||||||
(home-page "https://github.com/vcflib/vcflib/")
|
(home-page "https://github.com/vcflib/vcflib/")
|
||||||
(synopsis "Library for parsing and manipulating VCF files")
|
(synopsis "Library for parsing and manipulating VCF files")
|
||||||
|
|
Reference in a new issue