r13325 - in /trunk/libnet-patricia-perl: ./ debian/ debian/patches/
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Jan 23 17:18:09 UTC 2008
Author: gregoa-guest
Date: Wed Jan 23 17:18:08 2008
New Revision: 13325
URL: http://svn.debian.org/wsvn/?sc=1&rev=13325
Log:
* Separate patch against Makefile.PL into a proper patch, add quilt
framework.
* debian/rules:
- remove configure/-stamp targets
- create install-stamp target depending on build-stamp
- move dh_clean before make distclean and use it for removing -stamp
files
- remove unneeded calls to dh_installman and dh_link; remove
debian/libnet-patricia-perl.manpages too
* Remove debian/libnet-patricia-perl.docs and install README directly from
debian/rules.
* Remove unneeded debian/libnet-patricia-perl.dirs, the directories are
created by make install anyway.
Added:
trunk/libnet-patricia-perl/debian/patches/
trunk/libnet-patricia-perl/debian/patches/Makefile.PL.patch
trunk/libnet-patricia-perl/debian/patches/series
Removed:
trunk/libnet-patricia-perl/debian/libnet-patricia-perl.dirs
trunk/libnet-patricia-perl/debian/libnet-patricia-perl.docs
trunk/libnet-patricia-perl/debian/libnet-patricia-perl.manpages
Modified:
trunk/libnet-patricia-perl/Makefile.PL
trunk/libnet-patricia-perl/debian/changelog
trunk/libnet-patricia-perl/debian/control
trunk/libnet-patricia-perl/debian/rules
Modified: trunk/libnet-patricia-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libnet-patricia-perl/Makefile.PL?rev=13325&op=diff
==============================================================================
--- trunk/libnet-patricia-perl/Makefile.PL (original)
+++ trunk/libnet-patricia-perl/Makefile.PL Wed Jan 23 17:18:08 2008
@@ -4,7 +4,7 @@
WriteMakefile(
'NAME' => 'Net::Patricia',
'VERSION_FROM' => 'Patricia.pm', # finds $VERSION
- 'LIBS' => [''], # e.g., '-lm'
+ 'LIBS' => ['-lnsl'], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '', # e.g., '-I/usr/include/other'
'MYEXTLIB' => 'libpatricia/libpatricia$(LIB_EXT)', # e.g., '-I/usr/include/other'
Modified: trunk/libnet-patricia-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-patricia-perl/debian/changelog?rev=13325&op=diff
==============================================================================
--- trunk/libnet-patricia-perl/debian/changelog (original)
+++ trunk/libnet-patricia-perl/debian/changelog Wed Jan 23 17:18:08 2008
@@ -4,8 +4,21 @@
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/rules: delete /usr/share/perl5 only if it exists.
+ * Separate patch against Makefile.PL into a proper patch, add quilt
+ framework.
+ * debian/rules:
+ - remove configure/-stamp targets
+ - create install-stamp target depending on build-stamp
+ - move dh_clean before make distclean and use it for removing -stamp
+ files
+ - remove unneeded calls to dh_installman and dh_link; remove
+ debian/libnet-patricia-perl.manpages too
+ * Remove debian/libnet-patricia-perl.docs and install README directly from
+ debian/rules.
+ * Remove unneeded debian/libnet-patricia-perl.dirs, the directories are
+ created by make install anyway.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:31:03 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 23 Jan 2008 18:13:30 +0100
libnet-patricia-perl (1.014-2) unstable; urgency=low
Modified: trunk/libnet-patricia-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libnet-patricia-perl/debian/control?rev=13325&op=diff
==============================================================================
--- trunk/libnet-patricia-perl/debian/control (original)
+++ trunk/libnet-patricia-perl/debian/control Wed Jan 23 17:18:08 2008
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Michael Zehrer <zehrer at zepan.org>, Joachim Breitner <nomeata at debian.org>, Niko Tyni <ntyni at iki.fi>
-Build-Depends: debhelper (>= 5), perl (>= 5.8.0-3)
+Build-Depends: debhelper (>= 5), perl (>= 5.8.0-3), quilt
Standards-Version: 3.7.2
Homepage: http://search.cpan.org/dist/Net-Patricia/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-patricia-perl/
Added: trunk/libnet-patricia-perl/debian/patches/Makefile.PL.patch
URL: http://svn.debian.org/wsvn/trunk/libnet-patricia-perl/debian/patches/Makefile.PL.patch?rev=13325&op=file
==============================================================================
--- trunk/libnet-patricia-perl/debian/patches/Makefile.PL.patch (added)
+++ trunk/libnet-patricia-perl/debian/patches/Makefile.PL.patch Wed Jan 23 17:18:08 2008
@@ -1,0 +1,11 @@
+--- libnet-patricia-perl-1.014.orig/Makefile.PL
++++ libnet-patricia-perl-1.014/Makefile.PL
+@@ -4,7 +4,7 @@
+ WriteMakefile(
+ 'NAME' => 'Net::Patricia',
+ 'VERSION_FROM' => 'Patricia.pm', # finds $VERSION
+- 'LIBS' => ['-lnsl'], # e.g., '-lm'
++ 'LIBS' => [''], # e.g., '-lm'
+ 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+ 'INC' => '', # e.g., '-I/usr/include/other'
+ 'MYEXTLIB' => 'libpatricia/libpatricia$(LIB_EXT)', # e.g., '-I/usr/include/other'
Added: trunk/libnet-patricia-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libnet-patricia-perl/debian/patches/series?rev=13325&op=file
==============================================================================
--- trunk/libnet-patricia-perl/debian/patches/series (added)
+++ trunk/libnet-patricia-perl/debian/patches/series Wed Jan 23 17:18:08 2008
@@ -1,0 +1,1 @@
+Makefile.PL.patch
Modified: trunk/libnet-patricia-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-patricia-perl/debian/rules?rev=13325&op=diff
==============================================================================
--- trunk/libnet-patricia-perl/debian/rules (original)
+++ trunk/libnet-patricia-perl/debian/rules Wed Jan 23 17:18:08 2008
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
# Allow disabling build optimation by setting noopt in
# $DEB_BUILD_OPTIONS
@@ -17,32 +19,26 @@
PACKAGE=$(shell dh_listpackages)
TMP =$(CURDIR)/debian/$(PACKAGE)
-configure: configure-stamp
-configure-stamp:
- dh_testdir
-
- touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
perl Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)"
$(MAKE) test
- touch build-stamp
+ touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
+
+ dh_clean build-stamp install-stamp
if [ -e Makefile ]; then $(MAKE) distclean; fi
- dh_clean
-
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
@@ -52,6 +48,8 @@
# this is an architecture-dependent package;
# there's nothing in usr/share/perl5
[ ! -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
@@ -62,10 +60,8 @@
dh_testdir
dh_testroot
- dh_installdocs
- dh_installman
+ dh_installdocs README
dh_installchangelogs Changes
- dh_link
dh_strip
dh_compress
dh_fixperms
@@ -78,4 +74,4 @@
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list