mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-06 03:17:15 -05:00
gnu: tabixpp: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (tabixpp)[arguments]: Adjust custom 'install phase to add tabixpp.pc file.
This commit is contained in:
parent
35cb1bc527
commit
261bc778b6
1 changed files with 15 additions and 0 deletions
|
@ -15412,6 +15412,21 @@ (define-public tabixpp
|
|||
(install-file "libtabixpp.so" lib)
|
||||
(install-file "libtabixpp.a" lib)
|
||||
(install-file "tabix.hpp" (string-append out "/include"))
|
||||
(mkdir-p (string-append lib "/pkgconfig"))
|
||||
(with-output-to-file (string-append lib "/pkgconfig/tabixpp.pc")
|
||||
(lambda _
|
||||
(format #t "prefix=~a~@
|
||||
exec_prefix=${prefix}~@
|
||||
libdir=${exec_prefix}/lib~@
|
||||
includedir=${prefix}/include~@
|
||||
~@
|
||||
~@
|
||||
Name: libtabixpp~@
|
||||
Version: ~a~@
|
||||
Description: C++ wrapper around tabix project~@
|
||||
Libs: -L${libdir} -ltabixpp~@
|
||||
Cflags: -I${includedir}~%"
|
||||
out ,version)))
|
||||
#t))))))
|
||||
(home-page "https://github.com/ekg/tabixpp")
|
||||
(synopsis "C++ wrapper around tabix project")
|
||||
|
|
Loading…
Reference in a new issue