[SCM] libdvdcss-pkg/master: debian/rules: replacing hardcoded package name with variable
onlyjob-guest at users.alioth.debian.org
onlyjob-guest at users.alioth.debian.org
Tue Sep 18 03:18:57 UTC 2012
The following commit has been merged in the master branch:
commit d0eea7b53fd455ff15cb8a7414d0da3af6efaa2b
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date: Tue Sep 18 13:17:44 2012 +1000
debian/rules: replacing hardcoded package name with variable
diff --git a/debian/rules b/debian/rules
index 7cea824..fadce1d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,15 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+PKGG := libdvdcss
+
%: debian/po/templates.pot
dh $@
override_dh_auto_configure:
## check if "host" and "guest" packages version match
[ $$(dpkg-parsechangelog | sed -n 's/^Version: *//p') \
- = $$(dpkg-parsechangelog -llibdvdcss/debian/changelog | sed -n 's/^Version: *//p') ]
+ = $$(dpkg-parsechangelog -l$(PKGG)/debian/changelog | sed -n 's/^Version: *//p') ]
debian/po/templates.pot:
debconf-updatepo --verbose
@@ -25,6 +27,6 @@ get-orig-source: $(PKG)_$(VER).orig.tar.xz
$(PKG)_$(VER).orig.tar.xz:
mkdir $(PKG)_$(VER)
- cp -r libdvdcss $(PKG)_$(VER)/
+ cp -r $(PKGG) $(PKG)_$(VER)/
tar cJf $(PKG)_$(VER).orig.tar.xz $(PKG)_$(VER)
$(RM) -r $(PKG)_$(VER)
--
libdvdcss-pkg packaging
More information about the pkg-multimedia-commits
mailing list