[SCM] librdf-icalendar-perl Debian packaging branch, master, updated. debian/0.002-1-13-g06b3e74
Jonas Smedegaard
dr at jones.dk
Mon Jun 25 19:48:36 UTC 2012
The following commit has been merged in the master branch:
commit 386656ff37f224ef6862a756330c722509f5a779
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Jun 25 21:21:34 2012 +0200
Tidy rules file.
diff --git a/debian/rules b/debian/rules
index 996b72d..962405b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,14 +21,20 @@ 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-iCalendar
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 = 9b316ff92e18955aa8253c4dfc71b520
-# Needed (always/often) at runtime, and also for build process
-common-depends = libcommon-sense-perl, libdatetime-perl, libnamespace-clean-perl, librdf-trine-perl
-common-depends += , librdf-trineshortcuts-perl, librdf-vcard-perl, liburi-perl
+# Needed for upstream build and (always/often) at runtime
+perl-deps = common-sense datetime namespace-clean rdf-trine
+perl-deps += rdf-trineshortcuts rdf-vcard uri
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
+
+# Needed by upstream tests
+deps-test = libmodule-signature-perl
-CDBS_BUILD_DEPENDS += , $(common-depends), $(common-recommends), libmodule-signature-perl
-CDBS_DEPENDS_ALL = $(common-depends)
+CDBS_BUILD_DEPENDS += , $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
--
librdf-icalendar-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list