[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/09: gnu: fastahack: Install pkgconfig file.
From: |
guix-commits |
Subject: |
06/09: gnu: fastahack: Install pkgconfig file. |
Date: |
Thu, 27 Aug 2020 11:20:11 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 4bbcbe93cd7e65b8e6ceba8988365d3c1a05a867
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Aug 27 18:08:59 2020 +0300
gnu: fastahack: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (fastahack)[arguments]: Adjust custom
'install phase to add fastahack.pc.
---
gnu/packages/bioinformatics.scm | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 092ecf1..afade36 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")
- branch master updated (3dd3100 -> 9bb7534), guix-commits, 2020/08/27
- 04/09: gnu: smithwaterman: Install pkgconfig file., guix-commits, 2020/08/27
- 01/09: gnu: tabixpp: Build and install shared library and headers., guix-commits, 2020/08/27
- 03/09: gnu: smithwaterman: Build and install shared library and headers., guix-commits, 2020/08/27
- 06/09: gnu: fastahack: Install pkgconfig file.,
guix-commits <=
- 02/09: gnu: tabixpp: Install pkgconfig file., guix-commits, 2020/08/27
- 05/09: gnu: fastahack: Build and install shared library and headers., guix-commits, 2020/08/27
- 07/09: gnu: vcflib: Use shared libraries., guix-commits, 2020/08/27
- 08/09: gnu: vcflib: Install pkgconfig file., guix-commits, 2020/08/27
- 09/09: gnu: Add libflame., guix-commits, 2020/08/27