[Pkg-voip-commits] r10640 - /bcg729/trunk/debian/rules

lechner-guest at alioth.debian.org lechner-guest at alioth.debian.org
Sun May 17 02:27:23 UTC 2015


Author: lechner-guest
Date: Sun May 17 02:27:22 2015
New Revision: 10640

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10640
Log:
Use proper multiarch path in rules

Modified:
    bcg729/trunk/debian/rules

Modified: bcg729/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/bcg729/trunk/debian/rules?rev=10640&op=diff
==============================================================================
--- bcg729/trunk/debian/rules	(original)
+++ bcg729/trunk/debian/rules	Sun May 17 02:27:22 2015
@@ -6,6 +6,8 @@
 
 # Uncomment this to change the hardening options
 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
 	dh $@ --parallel \
@@ -17,7 +19,7 @@
 
 override_dh_auto_install:
 	dh_auto_install --destdir=debian/tmp
-	sed -i "/dependency_libs/ s/'.*'/''/" "$(CURDIR)"/debian/tmp/usr/lib/*/mediastreamer/plugins/msbcg729.la
+	sed -i "/dependency_libs/ s/'.*'/''/" "$(CURDIR)"/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/mediastreamer/plugins/msbcg729.la
 
 override_dh_strip:
 	dh_strip -plibbcg729-0 --dbg-package=libbcg729-0-dbg




More information about the Pkg-voip-commits mailing list