[med-svn] [libvcflib] 01/02: Restore changes from experimental to add pkg-config support

Andreas Tille tille at debian.org
Fri Mar 17 12:39:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch experimental
in repository libvcflib.

commit 3c5a2edb980ecea7988af146b27cad3a5b047977
Author: Andreas Tille <tille at debian.org>
Date:   Fri Mar 17 13:28:27 2017 +0100

    Restore changes from experimental to add pkg-config support
---
 debian/changelog                |  6 ++++++
 debian/control                  |  2 +-
 debian/patches/pkg-config.patch | 18 ++++++++++++++++++
 debian/patches/series           |  1 +
 debian/rules                    |  3 +++
 5 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 983267f..344b4cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,12 @@ libvcflib (1.0.0~rc1+dfsg1-3) unstable; urgency=medium
 
  -- Andreas Tille <tille at debian.org>  Wed, 01 Mar 2017 15:43:05 +0100
 
+libvcflib (1.0.0~rc1+dfsg1-2) experimental; urgency=medium
+
+  * Add pkg-config file for easier usage in freebayes
+
+ -- Andreas Tille <tille at debian.org>  Fri, 10 Feb 2017 09:09:35 +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/control b/debian/control
index a2dfa99..74ff262 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 10),
                python-markdown,
                libtabixpp-dev,
                libdisorder-dev,
-               libsmithwaterman-dev,
+               libsmithwaterman-dev (>= 0.0+20160702-2),
                libssw-dev,
                libfastahack-dev,
                pkg-config,
diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 0000000..b801aeb
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 10 Feb 2017 09:09:35 +0100
+Description: Add pkg-config file to simplify building of freebayes
+
+--- /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 -lsmithwaterman -ldisorder
++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 5f01267..5b8eae6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,9 @@ override_dh_install:
 	mkdir -p debian/libvcflib-dev/usr/include/intervaltree
 	mv debian/libvcflib-dev/usr/include/vcflib/IntervalTree.h debian/libvcflib-dev/usr/include/intervaltree
 	mv debian/libvcflib-tools/usr/lib/vcflib/binaries debian/libvcflib-tools/usr/lib/vcflib/bin
+	# 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