[med-svn] r15816 - trunk/packages/ssake/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Sat Jan 18 15:29:11 UTC 2014
Author: tille
Date: 2014-01-18 15:29:11 +0000 (Sat, 18 Jan 2014)
New Revision: 15816
Added:
trunk/packages/ssake/trunk/debian/ssake-examples.install
Removed:
trunk/packages/ssake/trunk/debian/ssake-examples.dirs
Modified:
trunk/packages/ssake/trunk/debian/changelog
trunk/packages/ssake/trunk/debian/control
trunk/packages/ssake/trunk/debian/rules
Log:
cdbs -> dh
Modified: trunk/packages/ssake/trunk/debian/changelog
===================================================================
--- trunk/packages/ssake/trunk/debian/changelog 2014-01-18 15:08:56 UTC (rev 15815)
+++ trunk/packages/ssake/trunk/debian/changelog 2014-01-18 15:29:11 UTC (rev 15816)
@@ -5,6 +5,7 @@
Closes: #735836
- cme fix dpkg-control
- debhelper 9
+ * debian/rules: cdbs -> dh
-- Andreas Tille <tille at debian.org> Sat, 18 Jan 2014 16:02:43 +0100
Modified: trunk/packages/ssake/trunk/debian/control
===================================================================
--- trunk/packages/ssake/trunk/debian/control 2014-01-18 15:08:56 UTC (rev 15815)
+++ trunk/packages/ssake/trunk/debian/control 2014-01-18 15:29:11 UTC (rev 15816)
@@ -4,8 +4,7 @@
Charles Plessy <plessy at debian.org>
Section: science
Priority: optional
-Build-Depends: cdbs,
- debhelper (>= 9),
+Build-Depends: debhelper (>= 9),
libperl4-corelibs-perl
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/ssake/trunk/
Modified: trunk/packages/ssake/trunk/debian/rules
===================================================================
--- trunk/packages/ssake/trunk/debian/rules 2014-01-18 15:08:56 UTC (rev 15815)
+++ trunk/packages/ssake/trunk/debian/rules 2014-01-18 15:29:11 UTC (rev 15816)
@@ -3,25 +3,24 @@
# (C) Andreas Tille
# GPL
-pkg=ssake
+pkg := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
examples=$(pkg)-examples
-include /usr/share/cdbs/1/rules/debhelper.mk
+%:
+ dh $@
BINDIR := $(CURDIR)/debian/$(pkg)/usr/bin
DOCDIR := $(CURDIR)/debian/$(examples)/usr/share/doc/$(pkg)
-install/$(pkg)::
+override_dh_install:#
+ dh_install
cp -a SSAKE $(BINDIR)/ssake
cp -a tools/TQS.py $(BINDIR)/tqs
-install/$(examples)::
- cp -a test/* $(DOCDIR)/examples
-
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
TESTDIR := $(shell mktemp -d)
-binary/$(pkg)::
- cp -a $(DOCDIR)/examples/* $(TESTDIR)
- cd $(TESTDIR) && gunzip *.gz && $(BINDIR)/ssake -f Herpesvirus_3.60kb.reads.fa -m 16 -o 2 -r 0.6 -p 0 -t 0 -c 1 -w 5 -b myFirstSSAKErun
+override_dh_auto_test:
+ cp -a test/* $(TESTDIR)
+ cd $(TESTDIR) && $(CURDIR)/SSAKE -f Herpesvirus_3.60kb.reads.fa -m 16 -o 2 -r 0.6 -p 0 -t 0 -c 1 -w 5 -b myFirstSSAKErun
rm -rf $(TESTDIR)
endif
Deleted: trunk/packages/ssake/trunk/debian/ssake-examples.dirs
===================================================================
--- trunk/packages/ssake/trunk/debian/ssake-examples.dirs 2014-01-18 15:08:56 UTC (rev 15815)
+++ trunk/packages/ssake/trunk/debian/ssake-examples.dirs 2014-01-18 15:29:11 UTC (rev 15816)
@@ -1 +0,0 @@
-usr/share/doc/ssake/examples
Added: trunk/packages/ssake/trunk/debian/ssake-examples.install
===================================================================
--- trunk/packages/ssake/trunk/debian/ssake-examples.install (rev 0)
+++ trunk/packages/ssake/trunk/debian/ssake-examples.install 2014-01-18 15:29:11 UTC (rev 15816)
@@ -0,0 +1 @@
+test/* usr/share/doc/ssake/examples
More information about the debian-med-commit
mailing list