r13385 - in /trunk/libmodule-load-conditional-perl/debian: changelog control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jan 24 08:29:33 UTC 2008


Author: dmn
Date: Thu Jan 24 08:29:33 2008
New Revision: 13385

URL: http://svn.debian.org/wsvn/?sc=1&rev=13385
Log:
* Use fresh rules.MakeMaker.noxs for debian/rules

Modified:
    trunk/libmodule-load-conditional-perl/debian/changelog
    trunk/libmodule-load-conditional-perl/debian/control
    trunk/libmodule-load-conditional-perl/debian/rules

Modified: trunk/libmodule-load-conditional-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmodule-load-conditional-perl/debian/changelog?rev=13385&op=diff
==============================================================================
--- trunk/libmodule-load-conditional-perl/debian/changelog (original)
+++ trunk/libmodule-load-conditional-perl/debian/changelog Thu Jan 24 08:29:33 2008
@@ -15,6 +15,9 @@
     perl-maintainers at lists.alioth.debian.org> (was: Debian Perl Project
     <pkg-perl-maintainers at lists.alioth.debian.org>).
 
+  [ Damyan Ivanov ]
+  * Use fresh rules.MakeMaker.noxs for debian/rules
+
  -- Alejandro Garrido Mota <garridomota at gmail.com>  Wed, 09 Jan 2008 12:18:42 -0430
 
 libmodule-load-conditional-perl (0.16-2) unstable; urgency=low

Modified: trunk/libmodule-load-conditional-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libmodule-load-conditional-perl/debian/control?rev=13385&op=diff
==============================================================================
--- trunk/libmodule-load-conditional-perl/debian/control (original)
+++ trunk/libmodule-load-conditional-perl/debian/control Thu Jan 24 08:29:33 2008
@@ -1,7 +1,7 @@
 Source: libmodule-load-conditional-perl
 Section: perl
 Priority: optional
-Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends: debhelper (>= 5)
 Build-Depends-Indep: perl (>= 5), libmodule-load-perl,
  libversion-perl (>= 0.69), liblocale-maketext-simple-perl,
  libparams-check-perl

Modified: trunk/libmodule-load-conditional-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmodule-load-conditional-perl/debian/rules?rev=13385&op=diff
==============================================================================
--- trunk/libmodule-load-conditional-perl/debian/rules (original)
+++ trunk/libmodule-load-conditional-perl/debian/rules Thu Jan 24 08:29:33 2008
@@ -1,6 +1,76 @@
 #!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# 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.
 
-install/libmodule-load-conditional-perl::
-	[ ! -d debian/libmodule-load-conditional-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose debian/libmodule-load-conditional-perl/usr/lib/perl5
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# 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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+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_installexamples
+	dh_installdocs
+	dh_installchangelogs CHANGES
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary




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