[SCM] libhtml-html5-writer-perl Debian packaging branch, master, updated. debian/0.104-1-11-g17431dc

Jonas Smedegaard dr at jones.dk
Thu Jun 14 17:29:38 UTC 2012


The following commit has been merged in the master branch:
commit f54ee100cec5099d545fdd37cb9706d7ad4711e2
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Jun 14 19:15:36 2012 +0200

    Tidy rules file.

diff --git a/debian/rules b/debian/rules
index 58da15d..b085844 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
-# Copyright 2012, Jonas Smedegaard <dr at jones.dk>
+# Copyright 2012 Jonas Smedegaard <dr at jones.dk>
 # Description: Main Debian packaging script for HTML::HTML5::Writer
 #
 # This program is free software; you can redistribute it and/or modify
@@ -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 = HTML-HTML5-Writer
-#DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML
-DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK
+DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML
+#DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK
 DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = s/~/_/
 DEB_UPSTREAM_TARBALL_MD5 = ef542e3014827b0ef05043c5ae6f9966
 
-# Needed both by upstream build process and at runtime
-common-depends = libhtml-html5-entities-perl, libxml-libxml-perl, libcommon-sense-perl
+# Needed both by upstream build and at runtime
+perl-deps = html-html5-entities xml-libxml common-sense
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
 
-CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
-CDBS_RECOMMENDS_ALL = libhtml-html5-parser-perl, libhtml-html5-sanity-perl
+CDBS_BUILD_DEPENDS += , $(deps)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_RECOMMENDS_$(pkg) = libhtml-html5-parser-perl, libhtml-html5-sanity-perl

-- 
libhtml-html5-writer-perl Debian packaging



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