[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: vcflib: Install pkgconfig file.
From: |
guix-commits |
Subject: |
08/09: gnu: vcflib: Install pkgconfig file. |
Date: |
Thu, 27 Aug 2020 11:20:12 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit e8bbb29b5910a2d3d8364db161849366f1d84010
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Aug 27 18:16:01 2020 +0300
gnu: vcflib: Install pkgconfig file.
* gnu/packages/bioinformatics.scm (vcflib)[arguments]: Adjust custom
'install phase to add vcflib.pc.
---
gnu/packages/bioinformatics.scm | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index db69819..0b4ed9c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15713,7 +15713,23 @@ library automatically handles index file generation
and use.")
(for-each
(lambda (file)
(install-file file (string-append out "/include")))
- (find-files "include" "\\.h(pp)?$")))
+ (find-files "include" "\\.h(pp)?$"))
+ (mkdir-p (string-append lib "/pkgconfig"))
+ (with-output-to-file (string-append lib "/pkgconfig/vcflib.pc")
+ (lambda _
+ (format #t "prefix=~a~@
+ exec_prefix=${prefix}~@
+ libdir=${exec_prefix}/lib~@
+ includedir=${prefix}/include~@
+ ~@
+ ~@
+ Name: libvcflib~@
+ Version: ~a~@
+ Requires: smithwaterman, fastahack~@
+ Description: C++ library for parsing and
manipulating VCF files~@
+ Libs: -L${libdir} -lvcflib~@
+ Cflags: -I${includedir}~%"
+ out ,version))))
#t)))))
(home-page "https://github.com/vcflib/vcflib/")
(synopsis "Library for parsing and manipulating VCF 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, 2020/08/27
- 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 <=
- 09/09: gnu: Add libflame., guix-commits, 2020/08/27