[med-svn] r15014 - trunk/packages/biosquid/trunk/debian
Andreas Tille
tille at alioth.debian.org
Mon Oct 28 14:05:17 UTC 2013
Author: tille
Date: 2013-10-28 14:05:17 +0000 (Mon, 28 Oct 2013)
New Revision: 15014
Modified:
trunk/packages/biosquid/trunk/debian/biosquid-dev.install
trunk/packages/biosquid/trunk/debian/biosquid.install
trunk/packages/biosquid/trunk/debian/changelog
trunk/packages/biosquid/trunk/debian/control
trunk/packages/biosquid/trunk/debian/rules
Log:
Use dh instead of cdbs
Modified: trunk/packages/biosquid/trunk/debian/biosquid-dev.install
===================================================================
--- trunk/packages/biosquid/trunk/debian/biosquid-dev.install 2013-10-28 13:12:28 UTC (rev 15013)
+++ trunk/packages/biosquid/trunk/debian/biosquid-dev.install 2013-10-28 14:05:17 UTC (rev 15014)
@@ -1,2 +1,2 @@
-debian/tmp/include/* usr/include/biosquid/
-debian/tmp/lib/ usr/
+usr/include/* usr/include/biosquid
+usr/lib/ usr
Modified: trunk/packages/biosquid/trunk/debian/biosquid.install
===================================================================
--- trunk/packages/biosquid/trunk/debian/biosquid.install 2013-10-28 13:12:28 UTC (rev 15013)
+++ trunk/packages/biosquid/trunk/debian/biosquid.install 2013-10-28 14:05:17 UTC (rev 15014)
@@ -1,2 +1,2 @@
-debian/tmp/bin/ usr/
-debian/tmp/share/ usr/
+usr/bin usr
+usr/share/ usr
Modified: trunk/packages/biosquid/trunk/debian/changelog
===================================================================
--- trunk/packages/biosquid/trunk/debian/changelog 2013-10-28 13:12:28 UTC (rev 15013)
+++ trunk/packages/biosquid/trunk/debian/changelog 2013-10-28 14:05:17 UTC (rev 15014)
@@ -7,6 +7,7 @@
- Homepage field droped since homepage vanished
- canonical Vcs fields
* debian/source/format: 3.0 (quilt)
+ * debian/rules: use dh instead of cdbs
-- Andreas Tille <tille at debian.org> Mon, 28 Oct 2013 14:04:02 +0100
Modified: trunk/packages/biosquid/trunk/debian/control
===================================================================
--- trunk/packages/biosquid/trunk/debian/control 2013-10-28 13:12:28 UTC (rev 15013)
+++ trunk/packages/biosquid/trunk/debian/control 2013-10-28 14:05:17 UTC (rev 15014)
@@ -4,8 +4,7 @@
Andreas Tille <tille at debian.org>
Section: science
Priority: optional
-Build-Depends: cdbs,
- debhelper (>= 9),
+Build-Depends: debhelper (>= 9),
autoconf,
autotools-dev
Standards-Version: 3.9.4
Modified: trunk/packages/biosquid/trunk/debian/rules
===================================================================
--- trunk/packages/biosquid/trunk/debian/rules 2013-10-28 13:12:28 UTC (rev 15013)
+++ trunk/packages/biosquid/trunk/debian/rules 2013-10-28 14:05:17 UTC (rev 15014)
@@ -1,14 +1,27 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
-DEB_CONFIGURE_EXTRA_FLAGS := --enable-lfs
-DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/tmp
+%:
+ dh $@ --with autotools_dev
-makebuilddir::
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f configure
+
+override_dh_auto_configure:
+ # autoreconf && true
autoconf
+ dh_auto_configure -- --enable-lfs
-install/biosquid::
- mv $(CURDIR)/debian/tmp/bin/translate $(CURDIR)/debian/tmp/bin/stranslate
+override_dh_auto_install:
+ dh_auto_install -- prefix=$(CURDIR)/debian/tmp/usr
+
+override_dh_install:
+ mv $(CURDIR)/debian/tmp/usr/bin/translate $(CURDIR)/debian/tmp/usr/bin/stranslate
+ dh_install
+
+override_dh_auto_test:
+ chmod u+x Testsuite/x-base-* Testsuite/bug-1-sfetch*
+ dh_auto_test
More information about the debian-med-commit
mailing list