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 /gnu | |
| parent | 35cb1bc527f2ad18db8620650a0d04b16b7eeca7 (diff) | |
gnu: tabixpp: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (tabixpp)[arguments]: Adjust custom
'install phase to add tabixpp.pc file.
Diffstat (limited to 'gnu')
| -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 f7887b50d04..53778675b92 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -15412,6 +15412,21 @@ mutations from scRNA-Seq data.") | |||
| 15412 | (install-file "libtabixpp.so" lib) | 15412 | (install-file "libtabixpp.so" lib) |
| 15413 | (install-file "libtabixpp.a" lib) | 15413 | (install-file "libtabixpp.a" lib) |
| 15414 | (install-file "tabix.hpp" (string-append out "/include")) | 15414 | (install-file "tabix.hpp" (string-append out "/include")) |
| 15415 | (mkdir-p (string-append lib "/pkgconfig")) | ||
| 15416 | (with-output-to-file (string-append lib "/pkgconfig/tabixpp.pc") | ||
| 15417 | (lambda _ | ||
| 15418 | (format #t "prefix=~a~@ | ||
| 15419 | exec_prefix=${prefix}~@ | ||
| 15420 | libdir=${exec_prefix}/lib~@ | ||
| 15421 | includedir=${prefix}/include~@ | ||
| 15422 | ~@ | ||
| 15423 | ~@ | ||
| 15424 | Name: libtabixpp~@ | ||
| 15425 | Version: ~a~@ | ||
| 15426 | Description: C++ wrapper around tabix project~@ | ||
| 15427 | Libs: -L${libdir} -ltabixpp~@ | ||
| 15428 | Cflags: -I${includedir}~%" | ||
| 15429 | out ,version))) | ||
| 15415 | #t)))))) | 15430 | #t)))))) |
| 15416 | (home-page "https://github.com/ekg/tabixpp") | 15431 | (home-page "https://github.com/ekg/tabixpp") |
| 15417 | (synopsis "C++ wrapper around tabix project") | 15432 | (synopsis "C++ wrapper around tabix project") |
