[med-svn] r16924 - trunk/packages/staden/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Tue May 13 12:38:01 UTC 2014


Author: tille
Date: 2014-05-13 12:38:01 +0000 (Tue, 13 May 2014)
New Revision: 16924

Removed:
   trunk/packages/staden/trunk/debian/README.source
Modified:
   trunk/packages/staden/trunk/debian/changelog
   trunk/packages/staden/trunk/debian/rules
Log:
Respect --enable-64bit and upload to new


Deleted: trunk/packages/staden/trunk/debian/README.source
===================================================================
--- trunk/packages/staden/trunk/debian/README.source	2014-05-13 11:55:15 UTC (rev 16923)
+++ trunk/packages/staden/trunk/debian/README.source	2014-05-13 12:38:01 UTC (rev 16924)
@@ -1,4 +0,0 @@
-Debian packaging for Staden
------------------------------
-
-Do I need to build with --enable-64bit?  What does it do?

Modified: trunk/packages/staden/trunk/debian/changelog
===================================================================
--- trunk/packages/staden/trunk/debian/changelog	2014-05-13 11:55:15 UTC (rev 16923)
+++ trunk/packages/staden/trunk/debian/changelog	2014-05-13 12:38:01 UTC (rev 16924)
@@ -1,4 +1,4 @@
-staden (2.0.0+b10-1) UNRELEASED; urgency=low
+staden (2.0.0+b10-1) unstable; urgency=low
 
   [ Tim Booth ]
   * Initial release to Debian (Closes: #710324)

Modified: trunk/packages/staden/trunk/debian/rules
===================================================================
--- trunk/packages/staden/trunk/debian/rules	2014-05-13 11:55:15 UTC (rev 16923)
+++ trunk/packages/staden/trunk/debian/rules	2014-05-13 12:38:01 UTC (rev 16924)
@@ -1,5 +1,13 @@
 #!/usr/bin/make -f
 
+## DEB_BUILD_ARCH or DEB_BUILD_ARCH_BITS ??
+BITARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifeq ($(BITARCH),64)
+    enable64bit:=--enable-64bit
+else
+    enable64bit:=
+endif
+
 %:
 	dh $@
 
@@ -11,6 +19,9 @@
 #override_dh_auto_configure:
 #	dh_auto_configure -- --disable-rpath
 
+override_dh_auto_configure:
+	dh_auto_configure -- $(enable64bit)
+
 override_dh_auto_install:
 	dh_auto_install
 	# Remove file causing lintian errors that is targeting at windows




More information about the debian-med-commit mailing list