[med-svn] [seer] 03/13: Polish packaging

Andreas Tille tille at debian.org
Thu Apr 14 09:49:55 UTC 2016


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

tille pushed a commit to branch master
in repository seer.

commit e0570d383cddb3c7ce3c9d713ce2b581aa166a71
Author: Andreas Tille <tille at debian.org>
Date:   Thu Mar 31 07:01:12 2016 +0000

    Polish packaging
---
 debian/README.Debian | 12 ++++++++++++
 debian/control       |  8 ++++----
 debian/examples      |  1 +
 debian/rules         |  5 +++++
 4 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..144dcff
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,12 @@
+seer for Debian
+===============
+
+For more detailed documentation please see the seer Wiki page:
+
+    https://github.com/johnlees/seer/wiki/Usage
+
+There is also an example wrapper script in
+
+    examples/example_wrapper.py
+
+ -- Andreas Tille <tille at debian.org>  Tue, 29 Mar 2016 19:32:29 +0200
diff --git a/debian/control b/debian/control
index 01c7c20..c4f5daf 100644
--- a/debian/control
+++ b/debian/control
@@ -6,13 +6,14 @@ Priority: optional
 Build-Depends: debhelper (>= 9),
                libarmadillo-dev,
                libdlib-dev,
-               libhdf5-mpi-dev | libhdf5-dev,
+               libhdf5-dev,
+#              libhdf5-mpi-dev,
                libgzstream-dev,
                libboost-dev
 Standards-Version: 3.9.7
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/seer/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/seer/trunk/
-Homepage: <homepage>
+Homepage: https://github.com/johnlees/seer
 
 Package: seer
 Architecture: any
@@ -31,5 +32,4 @@ Description: genomic sequence element (kmer) enrichment analysis
  clonal population structure of bacteria. Using large collections of
  genomes of the major human pathogen Streptococcus pneumoniae, SEER
  identifies relevant previously characterised resistance determinants for
- several antibiotics. We thus demonstrate that our method can answer
- important biologically and medically relevant questions.
+ several antibiotics.
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..436566d
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+example_wrapper.py
diff --git a/debian/rules b/debian/rules
index 4c23d17..0fff49c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 
 include /usr/share/dpkg/architecture.mk
 export CPATH := /usr/include/hdf5/serial
@@ -8,5 +9,9 @@ export LIBRARY_PATH := /usr/lib/$(DEB_TARGET_MULTIARCH)/hdf5/serial
 
 export LDFLAGS+=-pthread
 
+override_dh_auto_install:
+	dh_auto_install -- PREFIX=$(CURDIR)/debian/$(DEBPKGNAME)/usr
+	cp -a scripts/blast_top_hits.pl $(CURDIR)/debian/$(DEBPKGNAME)/usr/bin/blast_top_hits
+
 %:
 	dh $@

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



More information about the debian-med-commit mailing list