[SCM] libhtml-microformats-perl Debian packaging branch, master, updated. debian/0.104-1-17-gee44a4c

Jonas Smedegaard dr at jones.dk
Tue Aug 7 23:02:26 UTC 2012


The following commit has been merged in the master branch:
commit 79f54231d045c8b03d3dd6fc0136151565ef0c71
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Aug 7 16:02:30 2012 +0200

    Tidy rules file.

diff --git a/debian/rules b/debian/rules
index a4fb913..d2bcf9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,17 +25,22 @@ DEB_UPSTREAM_PACKAGE = HTML-Microformats
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML
 DEB_UPSTREAM_TARBALL_MD5 = 1349c0326c3dbd6b23e25b115337af89
 
-# Needed both by upstream build process and (always/often) at runtime
-common-depends = libcommon-sense-perl, libdatetime-perl, libdatetime-format-builder-perl
-common-depends += , libdatetime-format-natural-perl, libdatetime-format-strptime-perl, libdatetime-set-perl
-common-depends += , libhtml-html5-parser-perl, libhtml-html5-sanity-perl, libhttp-date-perl | libwww-perl (<< 6)
-common-depends += , libjson-perl, libobject-authority-perl, librdf-trine-perl, libxml-libxml-perl, liburi-perl
-common-recommends += , librdf-icalendar-perl, librdf-kml-exporter-perl, librdf-vcard-perl, libxml-atom-fromowl-perl
+pkg = $(DEB_SOURCE_PACKAGE)
 
-CDBS_BUILD_DEPENDS += , $(common-depends), $(common-recommends)
-CDBS_DEPENDS_ALL = $(common-depends)
-CDBS_RECOMMENDS_ALL = $(common-recommends)
+# Needed both by upstream build and (always/often) at runtime
+perl-deps = common-sense datetime datetime-format-builder
+perl-deps += datetime-format-natural datetime-format-strptime
+perl-deps += datetime-set html-html5-parser html-html5-sanity
+perl-deps += json object-authority rdf-trine xml-libxml uri
+perl-deps-recommend = rdf-icalendar rdf-kml-exporter rdf-vcard xml-atom-fromowl
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
+deps += , libhttp-date-perl | libwww-perl (<< 6)
+deps-recommend = $(patsubst %,$(comma) lib%-perl,$(perl-deps-recommend))
+
+CDBS_BUILD_DEPENDS += , $(deps), $(deps-recommend)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_RECOMMENDS_$(pkg) = $(deps-recommend)
 
 # fix permissions of examples
-binary-fixup/libhtml-microformats-perl::
-	chmod -x $(DEB_DESTDIR)usr/share/doc/libhtml-microformats-perl/examples/misc/*.pl
+binary-fixup/$(pkg)::
+	chmod -x $(cdbs_curdestdir)usr/share/doc/libhtml-microformats-perl/examples/misc/*.pl

-- 
libhtml-microformats-perl Debian packaging



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