[med-svn] [python-pbconsensuscore] 01/01: Create an additional package for header files and the static library
Afif Elghraoui
afif-guest at moszumanska.debian.org
Wed Nov 25 08:26:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch topic/devpkg
in repository python-pbconsensuscore.
commit 75fe674fc8a2fc5198b656e2a2d4e93e6136b81a
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Tue Nov 24 22:41:00 2015 -0800
Create an additional package for header files and the static library
I did not think that any software other than pbgenomicconsensus
used this package, but it seems that SPAdes does. Adding this package,
however, may require renaming the source package to not be
python- prefixed.
---
debian/control | 13 +++++++++++++
debian/rules | 10 ++++++++++
2 files changed, 23 insertions(+)
diff --git a/debian/control b/debian/control
index b0de58a..f9efba4 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,19 @@ Homepage: https://github.com/PacificBiosciences/ConsensusCore
Vcs-Git: git://anonscm.debian.org/debian-med/python-pbconsensuscore.git
Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/python-pbconsensuscore.git
+Package: libconsensuscore-dev
+Section: libdevel
+Architecture: any-x32 any-amd64 any-i386
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+Description: algorithms for Pacific Biosciences multiple sequence consensus (development files)
+ ConsensusCore is a library of C++ algorithms for PacBio multiple sequence
+ consensus that powers Quiver (Python) and ConsensusTools (.NET). This library
+ primarily exists as the backend for GenomicConsensus, which implements Quiver.
+ .
+ This package is part of the SMRT Analysis suite and contains the
+ header files and static library.
+
Package: python-pbconsensuscore
Architecture: any-x32 any-amd64 any-i386
Depends: ${shlibs:Depends},
diff --git a/debian/rules b/debian/rules
index fd63581..e6b650e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,10 @@ include /usr/share/dpkg/default.mk
export PYBUILD_NAME=pbconsensuscore
+DEVPKG=$(CURDIR)/debian/libconsensuscore-dev
+LIBDIR=usr/lib/$(DEB_HOST_MULTIARCH)
+INCDIR=usr/include
+
%:
LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
@@ -17,6 +21,12 @@ override_dh_auto_test:
# the python3 version has taken over.
# $(MAKE) test-python
+override_dh_auto_install:
+ mkdir -p $(DEVPKG)/$(LIBDIR) $(DEVPKG)/$(INCDIR)
+ mv $(CURDIR)/build/C++/libConsensusCore.a $(DEVPKG)/$(LIBDIR)
+ cp $(CURDIR)/include/* $(DEVPKG)/$(INCDIR)
+ dh_auto_install
+
override_dh_python2:
dh_python2
dh_numpy
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbconsensuscore.git
More information about the debian-med-commit
mailing list