[SCM] librdf-trin3-perl Debian packaging branch, master, updated. debian/0.136-1-14-gdeeb5c3

Jonas Smedegaard dr at jones.dk
Tue Aug 7 03:30:36 UTC 2012


The following commit has been merged in the master branch:
commit ad66faac9678af3d44687309d9eb599cbdb31c0f
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Aug 7 05:08:23 2012 +0200

    Tidy rules file.

diff --git a/debian/rules b/debian/rules
index 01360e3..0cfec51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,13 +21,16 @@ 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 = RDF-TriN3
 #DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/RDF
 DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK
 DEB_UPSTREAM_TARBALL_MD5 = 57ffa4edb78235e3a2c7ef832685cf8d
 
-# Needed at runtime, and also for upstream build process
-common-depends = perl (>= 5.10), libossp-uuid-perl, librdf-trine-perl, libwww-perl
+# Needed both by upstream build and (always) at runtime
+perl-deps = ossp-uuid rdf-trine www
+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)

-- 
librdf-trin3-perl Debian packaging



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