r19743 - in /trunk/pperl/debian: changelog compat control rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Fri May 9 12:22:15 UTC 2008
Author: dmn
Date: Fri May 9 12:22:14 2008
New Revision: 19743
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19743
Log:
* rapidly trim down debian/rules using DH 7
+ adjust build-dependency and debian/compat accordingly
Modified:
trunk/pperl/debian/changelog
trunk/pperl/debian/compat
trunk/pperl/debian/control
trunk/pperl/debian/rules
Modified: trunk/pperl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pperl/debian/changelog?rev=19743&op=diff
==============================================================================
--- trunk/pperl/debian/changelog (original)
+++ trunk/pperl/debian/changelog Fri May 9 12:22:14 2008
@@ -6,6 +6,8 @@
(source stanza); Homepage field (source stanza). Changed: Maintainer set
to Debian Perl Group <pkg-perl- maintainers at lists.alioth.debian.org>
* Add myself to Uploaders
+ * rapidly trim down debian/rules using DH 7
+ + adjust build-dependency and debian/compat accordingly
-- Damyan Ivanov <dmn at debian.org> Fri, 09 May 2008 14:57:01 +0300
Modified: trunk/pperl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pperl/debian/compat?rev=19743&op=diff
==============================================================================
--- trunk/pperl/debian/compat (original)
+++ trunk/pperl/debian/compat Fri May 9 12:22:14 2008
@@ -1,1 +1,1 @@
-4
+7
Modified: trunk/pperl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pperl/debian/control?rev=19743&op=diff
==============================================================================
--- trunk/pperl/debian/control (original)
+++ trunk/pperl/debian/control Fri May 9 12:22:14 2008
@@ -1,7 +1,7 @@
Source: pperl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.4-2.2), libperl-dev
+Build-Depends: debhelper (>= 7), perl (>= 5.8.4-2.2), libperl-dev
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn at debian.org>
Standards-Version: 3.6.1
Modified: trunk/pperl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/pperl/debian/rules?rev=19743&op=diff
==============================================================================
--- trunk/pperl/debian/rules (original)
+++ trunk/pperl/debian/rules Fri May 9 12:22:14 2008
@@ -1,104 +1,26 @@
#!/usr/bin/make -f
-# 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.
-
-# 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
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
build: build-stamp
build-stamp:
- dh_testdir
-
- # Add commands to compile the package here
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-
- mkdir -p sockets
- PPERL_TMP_PATH=$(CURDIR)/sockets make test
-
- touch build-stamp
+ dh build --before test
+
+ mkdir sockets
+ PPERL_TMP_PATH=$(CURDIR)/sockets $(MAKE) test
+
+ dh build --after test
+
+ touch $@
clean:
- dh_testdir
- dh_testroot
+ dh $@
+ dh_clean pperl.h pperl.1p sockets
- # Add commands to clean up after the build process here
- -$(MAKE) realclean
- -rm pperl.h pperl.1p
- -rm -rf sockets
-
- dh_clean build-stamp install-stamp
-
-install: install-stamp
-install-stamp:
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # Add here commands to install the package into debian/tmp.
- #$(MAKE) test
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- # As this is a architecture dependent package, we are not supposed to install
- # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from
- # the deb:
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
- touch install-stamp
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary-indep:
+ dh $@
# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs README TODO
- dh_installexamples
-# dh_installmenu
-# dh_installcron
- dh_installman pperl.1p
- dh_installchangelogs Changes
- dh_link
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- dh_strip
-endif
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-arch:
+ dh $@
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
More information about the Pkg-perl-cvs-commits
mailing list