[SCM] libhtml-html5-parser-perl Debian packaging branch, master, updated. debian/0.110-1-10-g842e4f3

Jonas Smedegaard dr at jones.dk
Thu Jun 14 17:08:26 UTC 2012


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

    Tidy rules file.

diff --git a/debian/rules b/debian/rules
index f895c20..c04a160 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
-# Copyright 2011-2012, Jonas Smedegaard <dr at jones.dk>
-# Copyright 2011-2012, Florian Schlichting <fschlich at zedat.fu-berlin.de>
+# Copyright 2011, 2012 Jonas Smedegaard <dr at jones.dk>
+# Copyright 2011, 2012 Florian Schlichting <fschlich at zedat.fu-berlin.de>
 # Description: Main Debian packaging script for HTML::HTML5::Parser
 #
 # This program is free software; you can redistribute it and/or modify
@@ -22,19 +22,23 @@ 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-Parser
 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_MD5 = f9cf9a9bf974b4b825fdddda09fc68df
 
-# Needed both by upstream build process and at runtime
-common-depends = liberror-perl, libhtml-encoding-perl, libhtml-html5-entities-perl, libwww-perl, libxml-libxml-perl (>= 1.93)
+# Needed both by upstream build and at runtime
+perl-deps = error html-encoding html-html5-entities www
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
+deps += , libxml-libxml-perl (>= 1.93)
 
-CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
+CDBS_BUILD_DEPENDS += , $(deps)
+CDBS_DEPENDS_$(pkg) = $(deps)
 
 # TODO: recommend when available in Debian
-CDBS_SUGGESTS_ALL = libxml-libxml-devel-setlinenumber-perl
+CDBS_SUGGESTS_$(pkg) = libxml-libxml-devel-setlinenumber-perl
 
-binary-install/libhtml-html5-parser-perl::
+binary-install/$(pkg)::
 	rm -R debian/libhtml-html5-parser-perl/usr/bin

-- 
libhtml-html5-parser-perl Debian packaging



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