[med-svn] [libvcflib] 01/02: Add pkg-config file for easier usage in freebayes
Andreas Tille
tille at debian.org
Thu Feb 9 20:32:37 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libvcflib.
commit a1841644ed1c5fe4b579690857b29c3aada7a2a5
Author: Andreas Tille <tille at debian.org>
Date: Thu Feb 9 17:45:53 2017 +0100
Add pkg-config file for easier usage in freebayes
---
debian/changelog | 6 ++++++
debian/patches/pkg-config.patch | 14 ++++++++++++++
debian/patches/series | 1 +
debian/rules | 3 +++
4 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 6c2349f..4e3dc5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libvcflib (1.0.0~rc1+dfsg1-2) UNRELEASED; urgency=medium
+
+ * Add pkg-config file for easier usage in freebayes
+
+ -- Andreas Tille <tille at debian.org> Thu, 09 Feb 2017 17:42:46 +0100
+
libvcflib (1.0.0~rc1+dfsg1-1) unstable; urgency=medium
* Adapt to recent PIE changes in dpkg (Thanks for the patch to Adrian Bunk
diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 0000000..356c540
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,14 @@
+--- /dev/null
++++ b/libvcflib.pc
+@@ -0,0 +1,11 @@
++prefix=/usr
++exec_prefix=${prefix}
++libdir=${exec_prefix}/lib
++includedir=${prefix}/include/vcflib
++
++Name: libvcflib
++Version: 1.0
++Description: C++ library for parsing and manipulating VCF files
++Libs: -L${libdir} -lvcflib
++Cflags: -I${includedir} -I/usr/include/smithwaterman
++
diff --git a/debian/patches/series b/debian/patches/series
index 58cb293..4351bed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ intervaltree.patch
shared_lib.patch
keep_R_files.patch
use_debian_packaged_libssw.patch
+pkg-config.patch
diff --git a/debian/rules b/debian/rules
index a210c71..3c411d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,9 @@ override_dh_install:
cp -a filevercmp/filevercmp.h debian/libvcflib-dev/usr/include/vcflib/
mkdir -p debian/libvcflib-dev/usr/include/intervaltree
mv debian/libvcflib-dev/usr/include/vcflib/IntervalTree.h debian/libvcflib-dev/usr/include/intervaltree
+ # install pkg-config file
+ mkdir -p $(CURDIR)/debian/libvcflib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
+ mv libvcflib.pc $(CURDIR)/debian/libvcflib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
override_dh_fixperms:
dh_fixperms
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libvcflib.git
More information about the debian-med-commit
mailing list