r8320 - in /trunk/libpar-packer-perl/debian: changelog control patches/ patches/01_manpage-ext.patch patches/series rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Oct 17 14:07:20 UTC 2007
Author: dmn
Date: Wed Oct 17 14:07:19 2007
New Revision: 8320
URL: http://svn.debian.org/wsvn/?sc=1&rev=8320
Log:
Lintian is happy
Added:
trunk/libpar-packer-perl/debian/patches/
trunk/libpar-packer-perl/debian/patches/01_manpage-ext.patch
trunk/libpar-packer-perl/debian/patches/series
Modified:
trunk/libpar-packer-perl/debian/changelog
trunk/libpar-packer-perl/debian/control
trunk/libpar-packer-perl/debian/rules
Modified: trunk/libpar-packer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libpar-packer-perl/debian/changelog?rev=8320&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/changelog (original)
+++ trunk/libpar-packer-perl/debian/changelog Wed Oct 17 14:07:19 2007
@@ -1,8 +1,7 @@
libpar-packer-perl (0.976-1) unstable; urgency=low
- TODO: make lintian happy
TODO: fill up debian/copyright for all files
- * Initial Release.
+ * Initial Release. Following upstream spin-off of lib-par-perl.
- -- Damyan Ivanov <dmn at debian.org> Wed, 17 Oct 2007 12:22:15 +0300
+ -- Damyan Ivanov <dmn at debian.org> Wed, 17 Oct 2007 17:06:35 +0300
Modified: trunk/libpar-packer-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libpar-packer-perl/debian/control?rev=8320&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/control (original)
+++ trunk/libpar-packer-perl/debian/control Wed Oct 17 14:07:19 2007
@@ -2,8 +2,7 @@
Section: perl
Priority: optional
Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-11), libperl-dev,
- libarchive-zip-perl, libpar-perl (>= 0.976), libtest-pod-perl
-Depends: libpar-perl (>= 0.976)
+ libarchive-zip-perl, libpar-perl (>= 0.976), libtest-pod-perl, quilt
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn at debian.org>
Standards-Version: 3.7.2
Added: trunk/libpar-packer-perl/debian/patches/01_manpage-ext.patch
URL: http://svn.debian.org/wsvn/trunk/libpar-packer-perl/debian/patches/01_manpage-ext.patch?rev=8320&op=file
==============================================================================
--- trunk/libpar-packer-perl/debian/patches/01_manpage-ext.patch (added)
+++ trunk/libpar-packer-perl/debian/patches/01_manpage-ext.patch Wed Oct 17 14:07:19 2007
@@ -1,0 +1,29 @@
+Index: Makefile.PL
+===================================================================
+--- a/Makefile.PL (revision 8309)
++++ b/Makefile.PL (working copy)
+@@ -67,7 +67,7 @@
+ $cc = can_cc unless $bork;
+ my $par;
+ $par = fetch_par('', '', !$cc) unless ($cc or $bork);
+- my $exe = $Config::Config{_exe};
++ my $exe = '';
+ my $dynperl = $Config::Config{useshrplib} && ($Config::Config{useshrplib} ne 'false');
+
+ if ($bork) {
+@@ -106,11 +106,11 @@
+
+ makemaker_args(
+ MAN1PODS => {
+- 'script/par.pl' => 'blib/man1/par.pl.1',
+- 'script/pp' => 'blib/man1/pp.1',
+- 'script/tkpp' => 'blib/man1/tkpp.1',
++ 'script/par.pl' => 'blib/man1/par.1p',
++ 'script/pp' => 'blib/man1/pp.1p',
++ 'script/tkpp' => 'blib/man1/tkpp.1p',
+ ($par or $cc) ? (
+- 'script/parl.pod' => 'blib/man1/parl.1',
++ 'script/parl.pod' => 'blib/man1/parl.1p',
+ ) : (),
+ },
+ EXE_FILES => [
Added: trunk/libpar-packer-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libpar-packer-perl/debian/patches/series?rev=8320&op=file
==============================================================================
--- trunk/libpar-packer-perl/debian/patches/series (added)
+++ trunk/libpar-packer-perl/debian/patches/series Wed Oct 17 14:07:19 2007
@@ -1,0 +1,1 @@
+01_manpage-ext.patch
Modified: trunk/libpar-packer-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libpar-packer-perl/debian/rules?rev=8320&op=diff
==============================================================================
--- trunk/libpar-packer-perl/debian/rules (original)
+++ trunk/libpar-packer-perl/debian/rules Wed Oct 17 14:07:19 2007
@@ -10,6 +10,8 @@
# 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
+
+include /usr/share/quilt/quilt.make
PACKAGE=$(shell dh_listpackages)
@@ -28,8 +30,9 @@
CFLAGS += -O2
endif
-build: build-stamp
-build-stamp:
+.PHONY: config
+config: patch config-stamp
+config-stamp:
dh_testdir
# As this is a architecture dependent package, we are not
@@ -41,22 +44,32 @@
$(PERL) Makefile.PL INSTALLDIRS=vendor \
INSTALLVENDORARCH=/usr/lib/perl5/ \
VENDORARCHEXP=/usr/lib/perl5/
+
+ touch $@
+
+build: config build-stamp
+build-stamp:
+ dh_testdir
+
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
PERL_TEST_POD=1 $(MAKE) test
touch $@
-clean:
+.PHONY: distclean
+distclean:
dh_testdir
dh_testroot
- dh_clean build-stamp install-stamp
+ dh_clean config-stamp build-stamp install-stamp
# Add commands to clean up after the build process here
[ ! -f Makefile ] || $(MAKE) realclean
dh_clean myldr/Makefile.old
rm -rf _Inline
+
+clean: distclean unpatch
install: build install-stamp
install-stamp:
@@ -66,6 +79,16 @@
# Add commands to install the package into debian/$PACKAGE_NAME here
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ mv $(TMP)/usr/bin/par.pl $(TMP)/usr/bin/par
+ #mv $(TMP)/usr/share/man/man1/par.pl.1p $(TMP)/usr/share/man/man1/par.1p
+
+ dh_link usr/share/man/man1/parl.1p \
+ usr/share/man/man1/parldyn.1p
+
+ rm $(TMP)/usr/share/man/man1/pp.1p
+ dh_link usr/share/man/man3/pp.3pm \
+ usr/share/man/man1/pp.1p
touch $@
More information about the Pkg-perl-cvs-commits
mailing list