diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2020-08-27 18:06:25 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2020-08-27 18:06:25 +0300 |
| commit | 5c789971881a536e98dd466717c709f9ce77498b (patch) | |
| tree | 3fc805e8b001604e5a526b96c22f478056fc8611 /gnu | |
| parent | afa352223f103388ddbc2d7aae82949a561ec4e1 (diff) | |
gnu: smithwaterman: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (smithwaterman)[arguments]: Adjust
custom 'install phase to add smithwaterman.pc file.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 49122aa7142..c1885006207 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -15477,7 +15477,22 @@ some of the details of opening and jumping in tabix-indexed files.") | |||
| 15477 | (install-file file (string-append out "/include/smithwaterman"))) | 15477 | (install-file file (string-append out "/include/smithwaterman"))) |
| 15478 | (find-files "." "\\.h$")) | 15478 | (find-files "." "\\.h$")) |
| 15479 | (install-file "libsmithwaterman.so" lib) | 15479 | (install-file "libsmithwaterman.so" lib) |
| 15480 | (install-file "libsw.a" lib)) | 15480 | (install-file "libsw.a" lib) |
| 15481 | (mkdir-p (string-append lib "/pkgconfig")) | ||
| 15482 | (with-output-to-file (string-append lib "/pkgconfig/smithwaterman.pc") | ||
| 15483 | (lambda _ | ||
| 15484 | (format #t "prefix=~a~@ | ||
| 15485 | exec_prefix=${prefix}~@ | ||
| 15486 | libdir=${exec_prefix}/lib~@ | ||
| 15487 | includedir=${prefix}/include/smithwaterman~@ | ||
| 15488 | ~@ | ||
| 15489 | ~@ | ||
| 15490 | Name: smithwaterman~@ | ||
| 15491 | Version: ~a~@ | ||
| 15492 | Description: smith-waterman-gotoh alignment algorithm~@ | ||
| 15493 | Libs: -L${libdir} -lsmithwaterman~@ | ||
| 15494 | Cflags: -I${includedir}~%" | ||
| 15495 | out ,version)))) | ||
| 15481 | #t))))) | 15496 | #t))))) |
| 15482 | (home-page "https://github.com/ekg/smithwaterman") | 15497 | (home-page "https://github.com/ekg/smithwaterman") |
| 15483 | (synopsis "Implementation of the Smith-Waterman algorithm") | 15498 | (synopsis "Implementation of the Smith-Waterman algorithm") |
