r3928 - in /packages/libvorbis-perl/trunk/debian: changelog dirs rules

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Tue Sep 26 11:08:46 UTC 2006


Author: ntyni-guest
Date: Tue Sep 26 11:08:35 2006
New Revision: 3928

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3928
Log:
Packaging cleanups.

Removed:
    packages/libvorbis-perl/trunk/debian/dirs
Modified:
    packages/libvorbis-perl/trunk/debian/changelog
    packages/libvorbis-perl/trunk/debian/rules

Modified: packages/libvorbis-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libvorbis-perl/trunk/debian/changelog?rev=3928&op=diff
==============================================================================
--- packages/libvorbis-perl/trunk/debian/changelog (original)
+++ packages/libvorbis-perl/trunk/debian/changelog Tue Sep 26 11:08:35 2006
@@ -6,8 +6,9 @@
     + upgrade to debhelper compatibility level 5.
     + support DEB_BUILD_OPTIONS=nostrip,noopt
     + don't ignore the result code of 'make clean'.
+    + install the manual page with the .3pm extension, as per policy.
 
- -- Niko Tyni <ntyni at iki.fi>  Tue, 26 Sep 2006 13:39:53 +0300
+ -- Niko Tyni <ntyni at iki.fi>  Tue, 26 Sep 2006 14:07:39 +0300
 
 libvorbis-perl (0.05-2) unstable; urgency=low
 

Modified: packages/libvorbis-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libvorbis-perl/trunk/debian/rules?rev=3928&op=diff
==============================================================================
--- packages/libvorbis-perl/trunk/debian/rules (original)
+++ packages/libvorbis-perl/trunk/debian/rules Tue Sep 26 11:08:35 2006
@@ -4,6 +4,10 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+PACKAGE=$(shell dh_listpackages)
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 CFLAGS = -Wall -g
 
@@ -25,7 +29,7 @@
 
 build-stamp: configure-stamp 
 	dh_testdir
-	perl Makefile.PL INSTALLDIRS=vendor MAN1EXT=1 MAN3EXT=3perl
+	perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE=$(CFLAGS)
 	$(MAKE) 
 	touch build-stamp
 
@@ -44,11 +48,16 @@
 
 	# Commands to install the package into debian/libvorbis-perl.
 	# some cleanup of manpage names
-	$(MAKE) install PREFIX=$(CURDIR)/debian/libvorbis-perl/usr
+	$(MAKE) install PREFIX=$(TMP)/usr
 
 	# This module includes a program that depends on the Ao module, which
 	# is broken (does not build) - We remove it.
-	rm -f $(CURDIR)/debian/libvorbis-perl/usr/{bin/pogg,share/man/man1/pogg.1}
+	rm -f $(TMP)/usr/bin/pogg
+	rm -f $(TMP)/usr/share/man/man1/pogg.1p
+	rmdir --ignore-fail-on-non-empty \
+	  $(TMP)/usr/share/perl5 \
+	  $(TMP)/usr/bin \
+	  $(TMP)/usr/share/man/man1
 
 # Build architecture-independent files here.
 binary-indep: build install




More information about the Pkg-perl-cvs-commits mailing list