diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-08-27 18:03:13 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-08-27 18:03:13 +0300 |
commit | 261bc778b6b7970937bda6996972f27f996be4bd (patch) | |
tree | 8692eb905311feb86abf6850b9e68e8baae1bfa7 | |
parent | 35cb1bc527f2ad18db8620650a0d04b16b7eeca7 (diff) | |
download | guix-261bc778b6b7970937bda6996972f27f996be4bd.tar guix-261bc778b6b7970937bda6996972f27f996be4bd.tar.gz |
gnu: tabixpp: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (tabixpp)[arguments]: Adjust custom
'install phase to add tabixpp.pc file.
-rw-r--r-- | gnu/packages/bioinformatics.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f7887b50d0..53778675b9 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -15412,6 +15412,21 @@ mutations from scRNA-Seq data.") (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") |