diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-08-27 18:08:59 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-08-27 18:09:28 +0300 |
commit | 4bbcbe93cd7e65b8e6ceba8988365d3c1a05a867 (patch) | |
tree | b9a19a96cb229517827b5c16ed684c261418585c /gnu/packages/bioinformatics.scm | |
parent | f075bf09bda9f7b146a600c6c6ebbbbf72c3cf13 (diff) | |
download | guix-4bbcbe93cd7e65b8e6ceba8988365d3c1a05a867.tar.gz guix-4bbcbe93cd7e65b8e6ceba8988365d3c1a05a867.zip |
gnu: fastahack: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (fastahack)[arguments]: Adjust custom
'install phase to add fastahack.pc.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-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 092ecf147a..afade365ca 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -15603,7 +15603,22 @@ neural networks.") (install-file file (string-append out "/include/fastahack"))) (find-files "." "\\.h$")) (install-file "fastahack" bin) - (install-file "libfastahack.so" lib)) + (install-file "libfastahack.so" lib) + (mkdir-p (string-append lib "/pkgconfig")) + (with-output-to-file (string-append lib "/pkgconfig/fastahack.pc") + (lambda _ + (format #t "prefix=~a~@ + exec_prefix=${prefix}~@ + libdir=${exec_prefix}/lib~@ + includedir=${prefix}/include/fastahack~@ + ~@ + ~@ + Name: fastahack~@ + Version: ~a~@ + Description: Indexing and sequence extraction from FASTA files~@ + Libs: -L${libdir} -lfastahack~@ + Cflags: -I${includedir}~%" + out ,version)))) #t))))) (home-page "https://github.com/ekg/fastahack") (synopsis "Indexing and sequence extraction from FASTA files") |