[Pkg-voip-commits] r8250 - in /openr2/trunk/debian: control rules

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Fri Apr 2 23:59:38 UTC 2010


Author: tzafrir
Date: Fri Apr  2 23:59:34 2010
New Revision: 8250

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8250
Log:
Replace dh override for something avaialble in Lenny.

Modified:
    openr2/trunk/debian/control
    openr2/trunk/debian/rules

Modified: openr2/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/openr2/trunk/debian/control?rev=8250&op=diff
==============================================================================
--- openr2/trunk/debian/control (original)
+++ openr2/trunk/debian/control Fri Apr  2 23:59:34 2010
@@ -5,7 +5,7 @@
 Uploaders: Alexandre Cavalcante Alencar <alexandre.alencar at gmail.com>,
  Tzafrir Cohen <tzafrir.cohen at xorcom.com>,
  Faidon Liambotis <paravoid at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), autotools-dev, dahdi-source, libtool, autoconf
+Build-Depends: debhelper (>= 7.0), autotools-dev, dahdi-source, libtool, autoconf
 Standards-Version: 3.8.4
 Homepage: http://www.libopenr2.org
 

Modified: openr2/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/openr2/trunk/debian/rules?rev=8250&op=diff
==============================================================================
--- openr2/trunk/debian/rules (original)
+++ openr2/trunk/debian/rules Fri Apr  2 23:59:34 2010
@@ -23,10 +23,19 @@
 %:
 	dh $@
 
-override_dh_auto_configure:
+# This could be used once we don't care about Lenny anymore:
+#override_dh_auto_configure:
+#	autoreconf -i
+#	dh_auto_configure -- --sysconfdir=/etc/openr2
+
+# But for the sake of Lenny backports:
+build: build-stamp
+build-stamp:
+	dh build --before configure
 	autoreconf -i
 	dh_auto_configure -- --sysconfdir=/etc/openr2
-
+	dh build --after configure
+	touch $@
 
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"




More information about the Pkg-voip-commits mailing list