[med-svn] r16002 - trunk/packages/spades/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Wed Feb 5 15:00:01 UTC 2014
Author: tille
Date: 2014-02-05 15:00:01 +0000 (Wed, 05 Feb 2014)
New Revision: 16002
Modified:
trunk/packages/spades/trunk/debian/control
trunk/packages/spades/trunk/debian/rules
trunk/packages/spades/trunk/debian/watch
Log:
Thanks to gregor hermann for the hint to the watch file
Modified: trunk/packages/spades/trunk/debian/control
===================================================================
--- trunk/packages/spades/trunk/debian/control 2014-02-05 14:39:00 UTC (rev 16001)
+++ trunk/packages/spades/trunk/debian/control 2014-02-05 15:00:01 UTC (rev 16002)
@@ -1,9 +1,11 @@
Source: spades
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
Section: science
Priority: optional
-Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9),
+ cmake,
+ zlib1g-dev
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/spades/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/spades/trunk/
@@ -11,7 +13,8 @@
Package: spades
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
Description: genome assembler for single-cell and isolates data sets
The SPAdes – St. Petersburg genome assembler is intended for both
standard isolates and single-cell MDA bacteria assemblies. It works
Modified: trunk/packages/spades/trunk/debian/rules
===================================================================
--- trunk/packages/spades/trunk/debian/rules 2014-02-05 14:39:00 UTC (rev 16001)
+++ trunk/packages/spades/trunk/debian/rules 2014-02-05 15:00:01 UTC (rev 16002)
@@ -16,8 +16,18 @@
# and use what is set there. Any hint whether dh might set variables in
# a similar manner are welcome.
+PREFIX:=/usr
+BUILD_DIR:=build_spades
+
%:
- dh $@
+ dh $@ --sourcedirectory=src --buildsystem=cmake
-#get-orig-source:
-# . debian/get-orig-source
+override_dh_auto_clean:
+ dh_auto_clean
+# rm -rf $(BUILD_DIR)
+
+xxx_override_dh_auto_build:
+ mkdir -p $(BUILD_DIR)
+ cd $(BUILD_DIR)
+ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$(PREFIX) $(CURDIR)/src $*
+ make -j 8
Modified: trunk/packages/spades/trunk/debian/watch
===================================================================
--- trunk/packages/spades/trunk/debian/watch 2014-02-05 14:39:00 UTC (rev 16001)
+++ trunk/packages/spades/trunk/debian/watch 2014-02-05 15:00:01 UTC (rev 16002)
@@ -1,6 +1,3 @@
version=3
-# does not work yet
-#opts=downloadurlmangle=s/release($([\d.]+)\//&SPAdes-$1.tar.gz/ \
-# http://spades.bioinf.spbau.ru/release([\d.]+)/
-#
-# http://spades.bioinf.spbau.ru/release3.0.0/SPAdes-3.0.0.tar.gz
\ No newline at end of file
+opts="downloadurlmangle=s{release([\d.]+)/}{release${1}/SPAdes-${1}.tar.gz},filenamemangle=s{release([\d.]+)/}{SPAdes-${1}.tar.gz}" \
+ http://spades.bioinf.spbau.ru/ release([\d.]+)/
More information about the debian-med-commit
mailing list