[med-svn] [libseqlib] 01/01: Use d-shlibs

Andreas Tille tille at debian.org
Fri Feb 3 16:02:13 UTC 2017


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

tille pushed a commit to branch master
in repository libseqlib.

commit b8167711cbed344dcc9edbea6e1bf9c6f6da5e43
Author: Andreas Tille <tille at debian.org>
Date:   Fri Feb 3 17:01:47 2017 +0100

    Use d-shlibs
---
 debian/control |  8 +++++---
 debian/rules   | 10 ++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index df7529e..a313515 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10),
+               d-shlibs,
                libhts-dev,
                libcurl4-openssl-dev | libcurl4-dev,
                zlib1g-dev,
@@ -15,7 +16,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libseqlib.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/libseqlib.git
 Homepage: https://github.com/walaj/SeqLib.git
 
-Package: libseqlib
+Package: libseqlib0
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -36,9 +37,10 @@ Description: C++ htslib/bwa-mem/fermi interface for interrogating sequence data
 Package: libseqlib-dev
 Architecture: any
 Section: libdevel
-Depends: ${shlibs:Depends},
+Depends: libseqlib0 (= ${binary:Version}),
+         ${shlibs:Depends},
          ${misc:Depends}
-Description: C++ htslib/bwa-mem/fermi interface for interrogating sequence data
+Description: C++ htslib/bwa-mem/fermi interface for interrogating sequence data (dev)
  C ++ API and command line tool that provides a rapid and user-friendly
  interface to BAM/SAM/CRAM files, global sequence alignment operations
  and sequence assembly. Four C libraries perform core operations in
diff --git a/debian/rules b/debian/rules
index 4be2723..a811764 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+
 # for hardening you might like to uncomment this:
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
@@ -17,3 +19,11 @@ override_dh_auto_build:
 	ln -s /usr/share/htslib-test/cram/ htslib
 	dh_auto_build
 	rm htslib/cram
+
+override_dh_install:
+	dh_install
+	d-shlibmove --commit \
+		    --multiarch \
+		    --devunversioned \
+		    --exclude-la \
+                    src/.libs/$(DEBPKGNAME).so

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



More information about the debian-med-commit mailing list