[med-svn] [libtabixpp] 01/01: use d-shlibs

Sascha Steinbiss sascha-guest at moszumanska.debian.org
Tue Dec 15 13:39:53 UTC 2015


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

sascha-guest pushed a commit to branch master
in repository libtabixpp.

commit 47b6097955149283e4e5a31fac24551ddc164121
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Tue Dec 15 13:39:41 2015 +0000

    use d-shlibs
---
 debian/control |  3 ++-
 debian/rules   | 17 ++++++-----------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/debian/control b/debian/control
index cd98ee8..7fd8352 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Uploaders: Andreas Tille <tille at debian.org>,
            Sascha Steinbiss <sascha at steinbiss.name>
 Build-Depends: debhelper (>= 9),
                libhts-dev,
-               zlib1g-dev
+               zlib1g-dev,
+               d-shlibs
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libtabixpp.git
 Vcs-Git: git://anonscm.debian.org/debian-med/libtabixpp.git
diff --git a/debian/rules b/debian/rules
index 8aef4f8..7ea0511 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,18 +6,13 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 %:
 	dh $@
 
-override_dh_auto_configure:
-	dh_auto_configure
-	sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \
-                debian/libtabixpp0-dev.links.in > debian/libtabixpp0-dev.links
-
 override_dh_auto_install:
-	mkdir -p debian/libtabixpp0-dev/usr/include
-	cp *hpp debian/libtabixpp0-dev/usr/include
-	mkdir -p debian/libtabixpp0/usr/lib/$(DEB_HOST_MULTIARCH)/
-	cp libtabixpp.so* debian/libtabixpp0/usr/lib/$(DEB_HOST_MULTIARCH)/
-	mkdir -p debian/libtabixpp0-dev/usr/lib/$(DEB_HOST_MULTIARCH)/
-	cp libtabixpp.a debian/libtabixpp0-dev/usr/lib/$(DEB_HOST_MULTIARCH)/
+	ln -s libtabixpp.so.* libtabixpp.so
+	d-shlibmove --commit \
+                    --multiarch \
+                    --override s/libhts1-dev/libhts-dev/ \
+                    --movedev "*.hpp" usr/include/ \
+                    libtabixpp.so
 
 override_dh_strip:
 	dh_strip --dbg-package=libtabixpp0-dbg

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



More information about the debian-med-commit mailing list