[SCM] libgeo-googleearth-pluggable-perl Debian packaging branch, master, updated. debian/0.14-1-18-g4e85eed

Jonas Smedegaard dr at jones.dk
Thu Jul 18 03:13:53 UTC 2013


The following commit has been merged in the master branch:
commit 5dd627968728161c15df72434d89f24bcfe06755
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Jul 17 19:29:45 2013 +0200

    Tidy rules file: Tighten package-specific CDBS variables.

diff --git a/debian/rules b/debian/rules
index cf1090c..a7cd0a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,15 +21,18 @@ include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/perl-makemaker.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+pkg = $(DEB_SOURCE_PACKAGE)
+
 DEB_UPSTREAM_PACKAGE = Geo-GoogleEarth-Pluggable
 DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/M/MR/MRDVT
 DEB_UPSTREAM_TARBALL_MD5 = 1728ff8c905baa1462e8faf183229c4e
 
-# Needed both by upstream build process and at runtime
-common-depends = libarchive-zip-perl, libio-stringy-perl, libmethod-autoload-perl
-common-depends += , libpackage-new-perl, libxml-libxml-lazybuilder-perl
+# Needed by upstream build and (always) at runtime
+perl-deps = archive-zip io-stringy method-autoload package-new
+perl-deps += xml-libxml-lazybuilder
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
 
-CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
+CDBS_BUILD_DEPENDS +=, $(deps)
+CDBS_DEPENDS_$(pkg) = $(deps)
 
-DEB_INSTALL_EXAMPLES_ALL = scripts/*
+DEB_INSTALL_EXAMPLES_$(pkg) = scripts/*

-- 
libgeo-googleearth-pluggable-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list