mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: fastahack: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (fastahack)[arguments]: Adjust custom 'install phase to add fastahack.pc.
This commit is contained in:
parent
f075bf09bd
commit
4bbcbe93cd
1 changed files with 16 additions and 1 deletions
|
@ -15603,7 +15603,22 @@ (define-public fastahack
|
||||||
(install-file file (string-append out "/include/fastahack")))
|
(install-file file (string-append out "/include/fastahack")))
|
||||||
(find-files "." "\\.h$"))
|
(find-files "." "\\.h$"))
|
||||||
(install-file "fastahack" bin)
|
(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)))))
|
#t)))))
|
||||||
(home-page "https://github.com/ekg/fastahack")
|
(home-page "https://github.com/ekg/fastahack")
|
||||||
(synopsis "Indexing and sequence extraction from FASTA files")
|
(synopsis "Indexing and sequence extraction from FASTA files")
|
||||||
|
|
Loading…
Reference in a new issue