Dear all,

I just helped the package over the technical hurdle to build
with svn-buildpackage.

Suggestions for whoever reads this and cares about it:
 * prepare kmer as a separate binary package
 * find out what is wrong with those Makefiles in kmer
 * prepare man pages and send them upstream
 * assist upstream with the preparation of
   shared libraries
 * get the debian/watch file to not only report but also
   to download files

I could not resist to mention in the debian/control
file (to be read also by non-bioinformaticians) that
that assembler is of enormous historical value ...
in some earlier version ...

Best,
Steffen

-------- Original Message --------
Subject: [med-svn] r6158 - trunk/packages/wgs-assembler/trunk/debian
Date: Thu,  3 Mar 2011 14:42:31 +0000
From: Steffen Möller <[email protected]>
To: [email protected]

Author: moeller
Date: 2011-03-03 14:42:27 +0000 (Thu, 03 Mar 2011)
New Revision: 6158

Modified:
   trunk/packages/wgs-assembler/trunk/debian/rules
Log:
Now it also works with svn-buildpackage


Modified: trunk/packages/wgs-assembler/trunk/debian/rules
===================================================================
--- trunk/packages/wgs-assembler/trunk/debian/rules     2011-03-03 14:20:41 UTC 
(rev 6157)
+++ trunk/packages/wgs-assembler/trunk/debian/rules     2011-03-03 14:42:27 UTC 
(rev 6158)
@@ -13,22 +13,22 @@
        dh $@

 override_dh_auto_build:
-       export PATH=$$PATH:. ; \
-       cd kmer/build ; \
-       ln -s ../Make.compilers . ; \
-       make makepath
-       cd kmer; \
-       ln -sf build/makepath.pl build/makepath . ; \
-       sh configure.sh; \
-       make install
-       ln -s kmer/Linux-* kmer/installdir
+       # gmake is hard coded in too many places
+       cd kmer; ln -s /usr/bin/make gmake
+       cd src; ln -s /usr/bin/make gmake
+       # get a few file that would otherwise be missed
+       export PATH=$$PATH:.; cd kmer; sh configure.sh;
+       cd kmer/build ; ln -s ../Make.compilers . ; make makepath
+       cd kmer; ln -sf build/makepath.pl build/makepath build/makepath.c .
+       cd kmer; export PATH=$$PATH:.; make install
+       cd kmer; ln -sf Linux-* installdir
        $(MAKE) -C src
-       ln -s Linux-* installdir
+       ln -sf Linux-* installdir

 override_dh_install:
-       cp installdir/bin/* $(CURDIR)/debian/wgs-assembler/usr/bin/
-       cp kmer/installdir/bin/* $(CURDIR)/debian/wgs-assembler/usr/bin/
-       cp kmer/installdir/include/* 
$(CURDIR)/debian/wgs-assembler/usr/include/kmer/
+       cp -r installdir/bin/* $(CURDIR)/debian/wgs-assembler/usr/bin/
+       cp -r kmer/installdir/bin/* $(CURDIR)/debian/wgs-assembler/usr/bin/
+       cp -r kmer/installdir/include/* 
$(CURDIR)/debian/wgs-assembler/usr/include/kmer/

 clean::
        rm -rf kmer/makepath.pl kmer/installdir kmer/build/Make.compilers 
installdir


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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to