[SCM] pd-beatpipe/master: Use DH8-compatible form, set buildsystem to makefile, don't call strip - already done by upstream's makefile

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Sep 12 09:39:52 UTC 2010


The following commit has been merged in the master branch:
commit 02de760be57e5b7e2339bc8c66e9318a8f425964
Author: Alessio Treglia <alessio at debian.org>
Date:   Sun Sep 12 11:38:35 2010 +0200

    Use DH8-compatible form, set buildsystem to makefile, don't call strip - already done by upstream's makefile

diff --git a/debian/rules b/debian/rules
index 2b499b1..813efcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,17 +5,13 @@ PACKAGE = pd-$(LIBRARY_NAME)
 pkglibdir = /usr/lib/pd/extra
 
 %:
-	dh $@
+	dh $@ -Smakefile
 
 override_dh_auto_install:
-	make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install
-# replace license file with link to the Debian license file
-	rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
+	dh_auto_install -- prefix=/usr pkglibdir=/usr/lib/pd/extra
+	rm -f $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/*.txt
 
 override_dh_shlibdeps:
-	dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
+	dpkg-shlibdeps \
+		$(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
 		-T$(CURDIR)/debian/$(PACKAGE).substvars
-
-override_dh_strip:
-	strip --remove-section=.comment --remove-section=.note --strip-unneeded \
-	   $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux

-- 
pd-beatpipe packaging



More information about the pkg-multimedia-commits mailing list