[med-svn] [pbseqlib] 02/03: Install header files and static libraries into -dev packages

Afif Elghraoui afif-guest at moszumanska.debian.org
Sun Oct 25 08:15:38 UTC 2015


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

afif-guest pushed a commit to branch master
in repository pbseqlib.

commit dc185ba64adabe5370f9c98c770c05cca019e54c
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sun Oct 25 01:11:24 2015 -0700

    Install header files and static libraries into -dev packages
---
 debian/libblasr-dev.install  |  1 +
 debian/libpbdata-dev.install |  1 +
 debian/libpbihdf-dev.install |  1 +
 debian/rules                 | 13 +++++++++++++
 4 files changed, 16 insertions(+)

diff --git a/debian/libblasr-dev.install b/debian/libblasr-dev.install
new file mode 100644
index 0000000..08b8afb
--- /dev/null
+++ b/debian/libblasr-dev.install
@@ -0,0 +1 @@
+alignment/libblasr.a	usr/include
diff --git a/debian/libpbdata-dev.install b/debian/libpbdata-dev.install
new file mode 100644
index 0000000..5d8d75e
--- /dev/null
+++ b/debian/libpbdata-dev.install
@@ -0,0 +1 @@
+pbdata/libpbdata.a	usr/include
diff --git a/debian/libpbihdf-dev.install b/debian/libpbihdf-dev.install
new file mode 100644
index 0000000..7be0856
--- /dev/null
+++ b/debian/libpbihdf-dev.install
@@ -0,0 +1 @@
+hdf/libpbihdf.a	usr/include
diff --git a/debian/rules b/debian/rules
index 99a82ac..00550d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,16 @@ export HDF5_LIB = /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
 
 override_dh_auto_configure:
 	./configure.py PREFIX=/usr/
+
+override_dh_auto_install:
+	mkdir -p debian/libpbdata-dev/usr/include/pbdata
+	cp -r pbdata/* debian/libpbdata-dev/usr/include/pbdata
+	mkdir -p debian/libpbihdf-dev/usr/include/pbihdf
+	cp -r hdf/* debian/libpbihdf-dev/usr/include/pbihdf
+	mkdir -p debian/libblasr-dev/usr/include/blasr
+	cp -r alignment/* debian/libblasr-dev/usr/include/blasr
+	find -L debian/*/usr/include/ -type f -regextype posix-egrep -not -regex '.*(hpp|h)$$' -delete
+# defines.mk files are broken symlinks at this point and don't get removed
+# by the previous command
+	find debian/*/usr/include/ -name defines.mk -delete
+	dh_auto_install

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



More information about the debian-med-commit mailing list