[med-svn] r7734 - trunk/packages/seqan/trunk/debian
Charles Plessy
plessy at alioth.debian.org
Mon Sep 12 03:51:46 UTC 2011
Author: plessy
Date: 2011-09-12 03:51:46 +0000 (Mon, 12 Sep 2011)
New Revision: 7734
Modified:
trunk/packages/seqan/trunk/debian/rules
Log:
Build with the cmake class of CDBS.
Modified: trunk/packages/seqan/trunk/debian/rules
===================================================================
--- trunk/packages/seqan/trunk/debian/rules 2011-09-11 23:08:03 UTC (rev 7733)
+++ trunk/packages/seqan/trunk/debian/rules 2011-09-12 03:51:46 UTC (rev 7734)
@@ -1,14 +1,13 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+DEB_SRCDIR := cmake
+DEB_MAKE_INSTALL_TARGET :=
+
DEB_DH_BUILDDEB_ARGS = -- -Zxz
-build/seqan-apps:: debian/stamp-build-seqan-apps
-debian/stamp-build-seqan-apps:
- ( cd $(CURDIR)/cmake && cmake . && make VERBOSE=1)
- touch $@
-
install/seqan-apps:: debian/stamp-install-seqan-apps
debian/stamp-install-seqan-apps:
mkdir -p $(CURDIR)/debian/seqan-apps/usr/bin
@@ -16,7 +15,7 @@
mkdir -p $(CURDIR)/debian/seqan-apps/usr/share/doc/seqan-apps
#install binaries
for APP in dfi insegt mason micro_razers pair_align param_chooser rabema razers razers2 read_analyzer rep_sep sak seqan_tcoffee seqcons snp_store splazers stellar tree_recon ; do \
- cp -p $(CURDIR)/cmake/apps/$$APP $(CURDIR)/debian/seqan-apps/usr/lib/sequan/bin/ ; done
+ cp -p $(CURDIR)/obj*/apps/$$APP $(CURDIR)/debian/seqan-apps/usr/lib/sequan/bin/ ; done
# Links for compatibility with seqan 1.2-1
for APP in dfi micro_razers pair_align razers seqan_tcoffee seqcons tree_recon ; do \
ln -s /usr/lib/sequan/bin/$$APP $(CURDIR)/debian/seqan-apps/usr/bin/$$APP ; done
More information about the debian-med-commit
mailing list