[SCM] libva/master: Use dh_auto_configure to pass in default+extra configure options.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Fri Mar 16 15:15:54 UTC 2012


The following commit has been merged in the master branch:
commit 2298fb2d8926984cab6195284459a56601987c62
Author: Andres Mejia <amejia004 at gmail.com>
Date:   Fri Mar 16 10:33:13 2012 -0400

    Use dh_auto_configure to pass in default+extra configure options.

diff --git a/debian/rules b/debian/rules
index 1d89953..366c9d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,5 @@
 #!/usr/bin/make -f
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
-CONFIGURE_OPTIONS ?= --prefix=/usr \
-                     --disable-silent-rules \
-                     --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
-
 %:
 	dh $@ --with autoreconf
 
@@ -15,8 +9,7 @@ override_dh_makeshlibs:
 	dh_makeshlibs -plibva1      -V 'libva1 (>> 1.0.15~)'
 
 override_dh_auto_configure:
-	dh_testdir
-	./configure $(CONFIGURE_OPTIONS)
+	dh_auto_configure -- --disable-silent-rules
 
 get-orig-source:
 	$(dir $_)libva-get-orig-source

-- 
libva packaging



More information about the pkg-multimedia-commits mailing list