Author: lkajan-guest
Date: 2012-02-24 18:13:32 +0000 (Fri, 24 Feb 2012)
New Revision: 9781

Modified:
   trunk/packages/hhsuite/trunk/debian/control
   trunk/packages/hhsuite/trunk/debian/rules
Log:
missing build-dep added; sed is used instead of awk to extract VERSION number

Modified: trunk/packages/hhsuite/trunk/debian/control
===================================================================
--- trunk/packages/hhsuite/trunk/debian/control 2012-02-24 17:21:49 UTC (rev 
9780)
+++ trunk/packages/hhsuite/trunk/debian/control 2012-02-24 18:13:32 UTC (rev 
9781)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Med Packaging Team 
<[email protected]>
 Uploaders: Laszlo Kajan <[email protected]>
-Build-Depends: debhelper (>= 8.0.0), help2man, libpng12-dev
+Build-Depends: debhelper (>= 8.0.0), libffindex0-dev, help2man, libpng12-dev
 Standards-Version: 3.9.2
 Homepage: http://toolkit.genzentrum.lmu.de/sections/search
 Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/hhsuite/trunk/

Modified: trunk/packages/hhsuite/trunk/debian/rules
===================================================================
--- trunk/packages/hhsuite/trunk/debian/rules   2012-02-24 17:21:49 UTC (rev 
9780)
+++ trunk/packages/hhsuite/trunk/debian/rules   2012-02-24 18:13:32 UTC (rev 
9781)
@@ -3,20 +3,10 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-%:
-       dh $@ --parallel
+VERSION=$(shell sed --posix -n -e '/VERSION_AND_DATE/{ s/.*version 
\([0-9][0-9.]*\).*/\1/; p; }' src/hhdecl.C)
 
-VERSION=$(shell awk '/VERSION_AND_DATE/{ match($$0, "version ([0-9][0-9.]*)", 
a); print a[1]; }' ./src/hhdecl.C)
-
-.PHONY: override_dh_strip
-override_dh_strip:
-       dh_strip --dbg-package=hhsuite-dbg -Xlibffindex.a -Xlibffindex.so
-
 HHMANPAGES = hhalign.1 hhblits.1 hhconsensus.1 hhfilter.1 hhmake.1 hhsearch.1
 
-.PHONY: hhmanpages
-hhmanpages: $(HHMANPAGES)
-
 export n_hhalign=align a query alignment/HMM to a template alignment/HMM
 export n_hhblits=fast homology detection method to iteratively search a HMM 
database
 export n_hhconsensus=calculate the consensus sequence for an A3M/FASTA input 
file
@@ -24,6 +14,16 @@
 export n_hhmake=build an HMM from an input alignment or convert between HMMER 
format and HHsearch format
 export n_hhsearch=search a database of HMMs with a query alignment or query HMM
 
+.PHONY: hhmanpages
+hhmanpages: $(HHMANPAGES)
+
+%:
+       dh $@ --parallel
+
+.PHONY: override_dh_strip
+override_dh_strip:
+       dh_strip --dbg-package=hhsuite-dbg -Xlibffindex.a -Xlibffindex.so
+
 .PHONY: override_dh_installman
 override_dh_installman: $(HHMANPAGES)
        dh_installman


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to