r19723 - in /trunk/libexpect-simple-perl/debian: changelog control rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Thu May 8 20:24:02 UTC 2008


Author: gregoa
Date: Thu May  8 20:24:01 2008
New Revision: 19723

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19723
Log:
* Replace cdbs with plain debhelper.
* Add /me to Uploaders.

Modified:
    trunk/libexpect-simple-perl/debian/changelog
    trunk/libexpect-simple-perl/debian/control
    trunk/libexpect-simple-perl/debian/rules

Modified: trunk/libexpect-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexpect-simple-perl/debian/changelog?rev=19723&op=diff
==============================================================================
--- trunk/libexpect-simple-perl/debian/changelog (original)
+++ trunk/libexpect-simple-perl/debian/changelog Thu May  8 20:24:01 2008
@@ -7,8 +7,10 @@
     pointer to /usr/share/common-licenses.
   * Set Standards-Version to 3.7.3 (no changes).
   * debian/control: remove single dot from end of long description.
+  * Replace cdbs with plain debhelper.
+  * Add /me to Uploaders.
 
- -- gregor herrmann <gregoa at debian.org>  Thu, 08 May 2008 22:13:20 +0200
+ -- gregor herrmann <gregoa at debian.org>  Thu, 08 May 2008 22:23:04 +0200
 
 libexpect-simple-perl (0.03-1) unstable; urgency=low
 

Modified: trunk/libexpect-simple-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexpect-simple-perl/debian/control?rev=19723&op=diff
==============================================================================
--- trunk/libexpect-simple-perl/debian/control (original)
+++ trunk/libexpect-simple-perl/debian/control Thu May  8 20:24:01 2008
@@ -1,10 +1,11 @@
 Source: libexpect-simple-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), cdbs
+Build-Depends: debhelper (>= 5.0.0)
 Build-Depends-Indep: perl (>= 5.8.8-7), libexpect-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Peter Makholm <peter at makholm.net>
+Uploaders: Peter Makholm <peter at makholm.net>,
+ gregor herrmann <gregoa at debian.org>
 Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Expect-Simple/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libexpect-simple-perl/

Modified: trunk/libexpect-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexpect-simple-perl/debian/rules?rev=19723&op=diff
==============================================================================
--- trunk/libexpect-simple-perl/debian/rules (original)
+++ trunk/libexpect-simple-perl/debian/rules Thu May  8 20:24:01 2008
@@ -1,11 +1,60 @@
 #!/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.
 
-export LC_ALL=C
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# 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
 
-binary-install/libexpect-simple-perl::
-	[ ! -d $(CURDIR)/debian/libexpect-simple-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libexpect-simple-perl/usr/lib/perl5
-	
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install




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