r67897 - in /trunk/libimage-librsvg-perl/debian: changelog clean compat control libimage-librsvg-perl.docs rules
roam-guest at users.alioth.debian.org
roam-guest at users.alioth.debian.org
Wed Jan 26 22:00:36 UTC 2011
Author: roam-guest
Date: Wed Jan 26 21:59:58 2011
New Revision: 67897
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67897
Log:
Bump the debhelper compat level to 7 and minimize the rules file.
Added:
trunk/libimage-librsvg-perl/debian/clean
trunk/libimage-librsvg-perl/debian/libimage-librsvg-perl.docs
Modified:
trunk/libimage-librsvg-perl/debian/changelog
trunk/libimage-librsvg-perl/debian/compat
trunk/libimage-librsvg-perl/debian/control
trunk/libimage-librsvg-perl/debian/rules
Modified: trunk/libimage-librsvg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/changelog?rev=67897&op=diff
==============================================================================
--- trunk/libimage-librsvg-perl/debian/changelog (original)
+++ trunk/libimage-librsvg-perl/debian/changelog Wed Jan 26 21:59:58 2011
@@ -40,6 +40,8 @@
- refer to "Debian systems" and the GPL-1 file instead of the symlink
- update it to the latest revision of the DEP 5 candidate format
- add my copyright notice
+ * Bump the debhelper compatibility level to 7 and minimize the rules file
+ using override rules.
-- Peter Pentchev <roam at ringlet.net> Wed, 26 Jan 2011 13:18:48 +0200
Added: trunk/libimage-librsvg-perl/debian/clean
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/clean?rev=67897&op=file
==============================================================================
--- trunk/libimage-librsvg-perl/debian/clean (added)
+++ trunk/libimage-librsvg-perl/debian/clean Wed Jan 26 21:59:58 2011
@@ -1,0 +1,1 @@
+examples/test.png
Modified: trunk/libimage-librsvg-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/compat?rev=67897&op=diff
==============================================================================
--- trunk/libimage-librsvg-perl/debian/compat (original)
+++ trunk/libimage-librsvg-perl/debian/compat Wed Jan 26 21:59:58 2011
@@ -1,1 +1,1 @@
-5
+7
Modified: trunk/libimage-librsvg-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/control?rev=67897&op=diff
==============================================================================
--- trunk/libimage-librsvg-perl/debian/control (original)
+++ trunk/libimage-librsvg-perl/debian/control Wed Jan 26 21:59:58 2011
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Antonio S. de A. Terceiro <asaterceiro at inf.ufrgs.br>, Niko Tyni <ntyni at iki.fi>, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Peter Pentchev <roam at ringlet.net>
-Build-Depends: debhelper (>= 5), perl, librsvg2-dev
+Build-Depends: debhelper (>= 7.0.50~), perl, librsvg2-dev
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Image-LibRSVG/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libimage-librsvg-perl/
Added: trunk/libimage-librsvg-perl/debian/libimage-librsvg-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/libimage-librsvg-perl.docs?rev=67897&op=file
==============================================================================
--- trunk/libimage-librsvg-perl/debian/libimage-librsvg-perl.docs (added)
+++ trunk/libimage-librsvg-perl/debian/libimage-librsvg-perl.docs Wed Jan 26 21:59:58 2011
@@ -1,0 +1,2 @@
+README
+examples.pl
Modified: trunk/libimage-librsvg-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/rules?rev=67897&op=diff
==============================================================================
--- trunk/libimage-librsvg-perl/debian/rules (original)
+++ trunk/libimage-librsvg-perl/debian/rules Wed Jan 26 21:59:58 2011
@@ -7,11 +7,6 @@
# 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
-
-PERL ?= /usr/bin/perl
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
@@ -24,52 +19,21 @@
CFLAGS += -O2
endif
-build: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor LIBS='-lrsvg-2'
- $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
- $(MAKE) test
- touch $@
+override_dh_auto_configure:
+ dh_auto_configure -- LIBS='-lrsvg-2'
-clean:
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp examples/test.png
- [ ! -f Makefile ] || $(MAKE) realclean
+override_dh_auto_build:
+ dh_auto_build -- OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+override_dh_auto_install:
+ dh_auto_install
rm -f $(TMP)/usr/lib/perl5/Image/examples.pl
- [ ! -d $(TMP)/usr/share/perl5 ] || \
- rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(TMP)/usr/share/perl5
- touch $@
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
+override_dh_installexamples:
+ dh_installexamples -Xsvg.gz examples/*
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installexamples -Xsvg.gz examples/*
- dh_installdocs README examples.pl
- dh_installchangelogs Changes
- dh_shlibdeps
- dh_strip
- dh_perl
+override_dh_compress:
dh_compress --exclude=.svg --exclude=examples.pl
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
More information about the Pkg-perl-cvs-commits
mailing list