[med-svn] [pbbam] 01/08: Remove so-version from package name and don't use d-shlibs-move
Afif Elghraoui
afif-guest at moszumanska.debian.org
Fri Sep 18 08:23:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository pbbam.
commit aa08d07e0686c9f6fdd2090e54d56d9d5fbc71a2
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Fri Sep 18 00:38:04 2015 -0700
Remove so-version from package name and don't use d-shlibs-move
d-shlibs-move doesn't work (it says something about not finding
libhts1), and I figured out how the packaging is supposed to work,
anyway.
Lintian warnings hinted that libraries without soversions are
usually for programs' internal use and are better
placed in subdirectories. This is actually the case for this
package (at least for now), so that is what's being done
here.
---
debian/control | 5 ++---
debian/libpbbam.install.in | 1 +
debian/rules | 16 ++++++++++++----
3 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index 8804f03..7105239 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,6 @@ Priority: optional
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Afif Elghraoui <afif at ghraoui.name>
Build-Depends: debhelper (>= 9),
- d-shlibs,
cmake,
# swig3.0,
doxygen,
@@ -19,7 +18,7 @@ Homepage: https://github.com/PacificBiosciences/pbbam
Vcs-Git: git://anonscm.debian.org/debian-med/pbbam.git
Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/pbbam.git
-Package: libpbbam1
+Package: libpbbam
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
@@ -37,7 +36,7 @@ Description: Pacific Biosciences binary alignment/map (BAM) library
Package: libpbbam-dev
Section: libdevel
Architecture: any
-Depends: libpbbam1 (= ${binary:Version}),
+Depends: libpbbam (= ${binary:Version}),
${misc:Depends}
Description: Pacific Biosciences binary alignment/map (BAM) library (headers)
The BAM format is a binary, compressed, record-oriented container format
diff --git a/debian/libpbbam.install.in b/debian/libpbbam.install.in
new file mode 100644
index 0000000..5403d5f
--- /dev/null
+++ b/debian/libpbbam.install.in
@@ -0,0 +1 @@
+lib/* usr/lib/@MULTIARCH@/pbbam/
diff --git a/debian/rules b/debian/rules
index 63bf1d8..7661b40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,11 +23,19 @@ override_dh_auto_test:
# cd build && $(MAKE) test
override_dh_install:
- d-shlibmove \
- --commit \
- --multiarch \
- lib/libpbbam.so
+ sed 's/@MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \
+ debian/libpbbam.install.in > debian/libpbbam.install
dh_install
+override_dh_link:
+ dh_link --package=libpbbam-dev \
+ /usr/lib/$(DEB_HOST_MULTIARCH)/pbbam/libpbbam.so \
+ /usr/lib/$(DEB_HOST_MULTIARCH)/libpbbam.so
+ dh_link --remaining-packages
+
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.md
+
+override_dh_auto_clean:
+ dh_auto_clean
+ $(RM) debian/libpbbam.install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbbam.git
More information about the debian-med-commit
mailing list