r11519 - in /trunk/libnet-telnet-perl/debian: changelog compat control rules

gwolf at users.alioth.debian.org gwolf at users.alioth.debian.org
Sun Dec 23 17:11:50 UTC 2007


Author: gwolf
Date: Sun Dec 23 17:11:50 2007
New Revision: 11519

URL: http://svn.debian.org/wsvn/?sc=1&rev=11519
Log:
Updated/changed/adopted this package for the pkg-perl group

Added:
    trunk/libnet-telnet-perl/debian/compat
Modified:
    trunk/libnet-telnet-perl/debian/changelog
    trunk/libnet-telnet-perl/debian/control
    trunk/libnet-telnet-perl/debian/rules

Modified: trunk/libnet-telnet-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-telnet-perl/debian/changelog?rev=11519&op=diff
==============================================================================
--- trunk/libnet-telnet-perl/debian/changelog (original)
+++ trunk/libnet-telnet-perl/debian/changelog Sun Dec 23 17:11:50 2007
@@ -1,3 +1,14 @@
+libnet-telnet-perl (3.03-2) unstable; urgency=low
+
+  * Handed over maintainership to the pkg-perl group
+  * Replaced the old (and full of staleness) debian/rules by dh-make-
+    perl's stock
+  * Bumped up dh-compat level to 5
+  * Bumped up standards-version to 3.7.3 (no changes needed)
+  * Moved debhelper from b-d-i to b-d
+
+ -- Gunnar Wolf <gwolf at debian.org>  Sun, 23 Dec 2007 11:13:12 -0600
+
 libnet-telnet-perl (3.03-1) unstable; urgency=low
 
   * New upstream release

Added: trunk/libnet-telnet-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libnet-telnet-perl/debian/compat?rev=11519&op=file
==============================================================================
--- trunk/libnet-telnet-perl/debian/compat (added)
+++ trunk/libnet-telnet-perl/debian/compat Sun Dec 23 17:11:50 2007
@@ -1,0 +1,1 @@
+5

Modified: trunk/libnet-telnet-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libnet-telnet-perl/debian/control?rev=11519&op=diff
==============================================================================
--- trunk/libnet-telnet-perl/debian/control (original)
+++ trunk/libnet-telnet-perl/debian/control Sun Dec 23 17:11:50 2007
@@ -2,8 +2,8 @@
 Maintainer: Gunnar Wolf <gwolf at debian.org>
 Priority: optional
 Section: perl
-Build-Depends-Indep: debhelper (>= 2)
-Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.3
 
 Package: libnet-telnet-perl
 Architecture: all

Modified: trunk/libnet-telnet-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-telnet-perl/debian/rules?rev=11519&op=diff
==============================================================================
--- trunk/libnet-telnet-perl/debian/rules (original)
+++ trunk/libnet-telnet-perl/debian/rules Sun Dec 23 17:11:50 2007
@@ -1,56 +1,81 @@
 #!/usr/bin/make -f
-# -*- Makefile -*-
+# 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.
 
-# Use debhelper V. 2
-export DH_COMPAT := 2
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-# Make sure perl is defined (allow overriding from the command line
-PERL ?= /usr/bin/perl
+# 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
 
-# Set our build directory
-b := $(shell pwd)/debian/libnet-telnet-perl
+PACKAGE=$(shell dh_listpackages)
 
-binary: binary-stamp
-binary-stamp: binary-indep-stamp binary-arch-stamp
+ifndef PERL
+PERL = /usr/bin/perl
+endif
 
-binary-arch: binary-arch-stamp
-binary-arch-stamp: build install
+TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-binary-indep: binary-indep-stamp
-binary-indep-stamp: build install
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# As this is a architecture independent package, we are not
+	# supposed to install stuff to /usr/lib. MakeMaker creates
+	# the dirs, we prevent this by setting the INSTALLVENDORARCH
+	# and VENDORARCHEXP environment variables.
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+		INSTALLVENDORARCH=/usr/share/perl5/ \
+		VENDORARCHEXP=/usr/share/perl5/
+	$(MAKE)
+	#TEST#
+
+	touch $@
+
+clean:
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs ChangeLog
+
+	dh_clean build-stamp install-stamp
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installexamples
+	dh_installdocs #DOCS#
+	dh_installchangelogs #CHANGES#
+	dh_perl
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_perl
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-build: build-stamp
-build-stamp: config-stamp
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-	dh_clean binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp
-
-config: config-stamp
-config-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	touch config-stamp
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	$(MAKE) pure_install PREFIX=$(b)/usr
-
-.PHONY: binary binary-arch binary-indep clean config install
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary




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