r15774 - in /trunk/libmodule-pluggable-perl/debian: changelog control rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Feb 27 17:56:38 UTC 2008
Author: gregoa-guest
Date: Wed Feb 27 17:56:37 2008
New Revision: 15774
URL: http://svn.debian.org/wsvn/?sc=1&rev=15774
Log:
debian/rules: replace with template from dh-make-perl to update it;
switch to using Build.PL instead of Makefile.PL.
Modified:
trunk/libmodule-pluggable-perl/debian/changelog
trunk/libmodule-pluggable-perl/debian/control
trunk/libmodule-pluggable-perl/debian/rules
Modified: trunk/libmodule-pluggable-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmodule-pluggable-perl/debian/changelog?rev=15774&op=diff
==============================================================================
--- trunk/libmodule-pluggable-perl/debian/changelog (original)
+++ trunk/libmodule-pluggable-perl/debian/changelog Wed Feb 27 17:56:37 2008
@@ -9,8 +9,10 @@
* debian/watch: use dist-based URL.
* Remove debian/docs and don't install README (text version of POD
documentation) any more.
+ * debian/rules: replace with template from dh-make-perl to update it;
+ switch to using Build.PL instead of Makefile.PL.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 27 Feb 2008 18:52:26 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 27 Feb 2008 18:54:38 +0100
libmodule-pluggable-perl (3.6-1) unstable; urgency=low
Modified: trunk/libmodule-pluggable-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libmodule-pluggable-perl/debian/control?rev=15774&op=diff
==============================================================================
--- trunk/libmodule-pluggable-perl/debian/control (original)
+++ trunk/libmodule-pluggable-perl/debian/control Wed Feb 27 17:56:37 2008
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Niko Tyni <ntyni at iki.fi>, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 6), libmodule-build-perl
Build-Depends-Indep: perl (>= 5.6.0-16), perl-modules
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Module-Pluggable/
Modified: trunk/libmodule-pluggable-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmodule-pluggable-perl/debian/rules?rev=15774&op=diff
==============================================================================
--- trunk/libmodule-pluggable-perl/debian/rules (original)
+++ trunk/libmodule-pluggable-perl/debian/rules Wed Feb 27 17:56:37 2008
@@ -1,65 +1,76 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+#
+# It was later modified by Jason Kohles <email at jasonkohles.com>
+# http://www.jasonkohles.com/ to support Module::Build installed modules
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
ifndef PERL
- PERL = /usr/bin/perl
+PERL = /usr/bin/perl
endif
-package = libmodule-pluggable-perl
+TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
- perl Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
+ # Add commands to compile the package here
+ $(PERL) Build.PL installdirs=vendor
+ $(PERL) Build
+ $(PERL) Build test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
+ dh_clean build-stamp install-stamp
- dh_clean
+ # Add commands to clean up after the build process here
+ [ ! -f Build ] || $(PERL) Build distclean
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
- $(MAKE) test
+ # Add commands to install the package into $(TMP) here
+ $(PERL) Build install destdir=$(TMP) create_packlist=0
- $(MAKE) install PREFIX=$(CURDIR)/debian/$(package)/usr
+ touch $@
- [ ! -d debian/$(package)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose debian/$(package)/usr/lib/perl5
-
-
-binary-arch: build install
+binary-arch:
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
dh_testroot
-# dh_installdebconf
dh_installdocs
-# dh_installman
-# dh_installinfo
dh_installchangelogs Changes
- dh_link
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary
More information about the Pkg-perl-cvs-commits
mailing list