[med-svn] [htslib] 01/02: Install header files from cram dir in -dev package since these are used in libseqlib

Andreas Tille tille at debian.org
Thu Feb 9 14:41:09 UTC 2017


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

tille pushed a commit to branch debian/unstable
in repository htslib.

commit 44f77d577ac0b4c15f80606274142b388ec8c0d0
Author: Andreas Tille <tille at debian.org>
Date:   Thu Feb 9 14:30:46 2017 +0100

    Install header files from cram dir in -dev package since these are used in libseqlib
---
 debian/changelog           | 7 +++++++
 debian/control             | 3 ++-
 debian/htslib-test.install | 1 -
 debian/libhts-dev.install  | 1 +
 debian/rules               | 7 +++++++
 5 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f77e67a..43ad72a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+htslib (1.3.2-3) UNRELEASED; urgency=medium
+
+  * Install header files from cram dir in -dev package since these are
+    used in libseqlib
+
+ -- Andreas Tille <tille at debian.org>  Thu, 09 Feb 2017 13:39:57 +0100
+
 htslib (1.3.2-2) unstable; urgency=medium
 
   * Add build-essential and @builddeps@ to autopkgtest
diff --git a/debian/control b/debian/control
index ac24e91..709ce31 100644
--- a/debian/control
+++ b/debian/control
@@ -56,7 +56,8 @@ Description: Development files for the HTSlib
 Package: htslib-test
 Architecture: all
 Depends: ${misc:Depends},
-         ${perl:Depends}
+         ${perl:Depends},
+         libhts-dev
 Description: Test data for HTSlib
  HTSlib is an implementation of a unified C library for accessing common file
  formats, such as SAM (Sequence Alignment/Map), CRAM and VCF (Variant Call
diff --git a/debian/htslib-test.install b/debian/htslib-test.install
index a9d8290..9e34d5c 100644
--- a/debian/htslib-test.install
+++ b/debian/htslib-test.install
@@ -1,5 +1,4 @@
 test/* /usr/share/htslib-test/test
-cram/*.h /usr/share/htslib-test/cram
 cram/*.c /usr/share/htslib-test/cram
 Makefile /usr/share/htslib-test
 *.mk /usr/share/htslib-test
diff --git a/debian/libhts-dev.install b/debian/libhts-dev.install
index 87e7d23..724e5d4 100755
--- a/debian/libhts-dev.install
+++ b/debian/libhts-dev.install
@@ -4,3 +4,4 @@ usr/lib/${DEB_HOST_MULTIARCH}/*.a	usr/lib/${DEB_HOST_MULTIARCH}
 usr/lib/${DEB_HOST_MULTIARCH}/*.so	usr/lib/${DEB_HOST_MULTIARCH}
 usr/share/man/man5/*			usr/share/man/man5
 usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/htslib.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig
+cram/*.h				usr/include/htslib/cram
diff --git a/debian/rules b/debian/rules
index 1f01d43..a369d2b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,3 +36,10 @@ override_dh_auto_install:
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
+
+override_dh_link:
+	dh_link
+	# provide header files as expected by the Makefile of the test suite via symlinks
+	for l in `ls debian/libhts-dev/usr/include/htslib/cram/*.h` ; do \
+	    ln -s ../../../include/htslib/cram/`basename $$l` $(CURDIR)/debian/htslib-test/usr/share/htslib-test/cram/ ; \
+	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/htslib.git



More information about the debian-med-commit mailing list