[SCM] libanyevent-xmpp-perl Debian packaging branch, master, updated. debian/0.54-1-9-g5331b86

Jonas Smedegaard dr at jones.dk
Tue Apr 30 10:36:09 UTC 2013


The following commit has been merged in the master branch:
commit 9f5e90bb41fb0d275b3da483288b67b8fdbfc48e
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Apr 30 12:17:18 2013 +0200

    Tidy rules file.

diff --git a/debian/rules b/debian/rules
index bf2bdf5..2c7b49e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,11 +25,14 @@ DEB_UPSTREAM_PACKAGE = AnyEvent-XMPP
 #DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/AnyEvent
 DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/M/MS/MSTPLBG
 
-# Needed both by upstream build process and at runtime
-common-depends = libanyevent-perl, libxml-writer-perl, libxml-parser-perl, libnet-libidn-perl
-common-depends += , libauthen-sasl-perl, libnet-ssleay-perl, libobject-event-perl
+pkg = $(DEB_SOURCE_PACKAGE)
 
-CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
+# Needed by upstream build process and (always) at runtime
+perl-deps = anyevent xml-writer xml-parser net-libidn authen-sasl
+perl-deps += net-ssleay object-event
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
 
-DEB_INSTALL_EXAMPLES_ALL = samples/*
+CDBS_BUILD_DEPENDS +=, $(deps)
+CDBS_DEPENDS_$(pkg) = $(deps)
+
+DEB_INSTALL_EXAMPLES_$(pkg) = samples/*

-- 
libanyevent-xmpp-perl Debian packaging



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