r18206 - in /trunk/libnet-mac-perl/debian: changelog control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Mar 31 18:32:39 UTC 2008


Author: dmn
Date: Mon Mar 31 18:32:38 2008
New Revision: 18206

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18206
Log:
re-generated debian/rules using dh-make-perl template
+ drop build-dependency on CDBS

Modified:
    trunk/libnet-mac-perl/debian/changelog
    trunk/libnet-mac-perl/debian/control
    trunk/libnet-mac-perl/debian/rules

Modified: trunk/libnet-mac-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-mac-perl/debian/changelog?rev=18206&op=diff
==============================================================================
--- trunk/libnet-mac-perl/debian/changelog (original)
+++ trunk/libnet-mac-perl/debian/changelog Mon Mar 31 18:32:38 2008
@@ -1,11 +1,16 @@
 libnet-mac-perl (1.3-1) unstable; urgency=low
 
+  [ gregor herrmann ]
   * New upstream release.
   * debian/control: Changed: Maintainer set to Debian Perl Group <pkg-
     perl-maintainers at lists.alioth.debian.org> (was: Debian Perl Project
     <pkg-perl-maintainers at lists.alioth.debian.org>).
   * debian/watch: extended regexp for matching upstream releases.
   * debian/copyright: update years of copyright and add upstream maintainer.
+
+  [ Damyan Ivanov ]
+  * re-generated debian/rules using dh-make-perl template
+    + drop build-dependency on CDBS
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 31 Mar 2008 17:34:28 +0200
 

Modified: trunk/libnet-mac-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-mac-perl/debian/control?rev=18206&op=diff
==============================================================================
--- trunk/libnet-mac-perl/debian/control (original)
+++ trunk/libnet-mac-perl/debian/control Mon Mar 31 18:32:38 2008
@@ -1,7 +1,7 @@
 Source: libnet-mac-perl
 Section: perl
 Priority: extra
-Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends: debhelper (>= 5)
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Alejandro Garrido Mota <garridomota at gmail.com>

Modified: trunk/libnet-mac-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-mac-perl/debian/rules?rev=18206&op=diff
==============================================================================
--- trunk/libnet-mac-perl/debian/rules (original)
+++ trunk/libnet-mac-perl/debian/rules Mon Mar 31 18:32:38 2008
@@ -1,9 +1,63 @@
 #!/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.
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-install/libnet-mac-perl::
-	[ ! -d debian/libnet-mac-perl/usr/lib/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose debian/libnet-mac-perl/usr/lib/perl5
+# 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
 
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+build: build-stamp
+build-stamp:
+	dh_testdir
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# Add commands to install the package into $(TMP) here
+	$(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