r8295 - in /trunk/libpostscript-file-perl: debian/changelog debian/control debian/rules test-results/
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Oct 17 07:28:39 UTC 2007
Author: dmn
Date: Wed Oct 17 07:28:38 2007
New Revision: 8295
URL: http://svn.debian.org/wsvn/?sc=1&rev=8295
Log:
* Converted from cdbs to debhelper
+ install Changes as a changelog
+ Drop cdbs and quilt from B-D
* Remove test-results/ in clean
Removed:
trunk/libpostscript-file-perl/test-results/
Modified:
trunk/libpostscript-file-perl/debian/changelog
trunk/libpostscript-file-perl/debian/control
trunk/libpostscript-file-perl/debian/rules
Modified: trunk/libpostscript-file-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libpostscript-file-perl/debian/changelog?rev=8295&op=diff
==============================================================================
--- trunk/libpostscript-file-perl/debian/changelog (original)
+++ trunk/libpostscript-file-perl/debian/changelog Wed Oct 17 07:28:38 2007
@@ -15,7 +15,13 @@
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:31:43 +0200
+ [ Damyan Ivanov ]
+ * Converted from cdbs to debhelper
+ + install Changes as a changelog
+ + Drop cdbs and quilt from B-D
+ * Remove test-results/ in clean
+
+ -- Damyan Ivanov <dmn at debian.org> Wed, 17 Oct 2007 10:21:34 +0300
libpostscript-file-perl (1.01-1) unstable; urgency=low
Modified: trunk/libpostscript-file-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libpostscript-file-perl/debian/control?rev=8295&op=diff
==============================================================================
--- trunk/libpostscript-file-perl/debian/control (original)
+++ trunk/libpostscript-file-perl/debian/control Wed Oct 17 07:28:38 2007
@@ -1,7 +1,7 @@
Source: libpostscript-file-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 5.0.0), quilt, cdbs
+Build-Depends: debhelper (>= 5.0.0)
Build-Depends-Indep: perl (>= 5.8.0-7)
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Vincent Danjean <vdanjean at debian.org>
Modified: trunk/libpostscript-file-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libpostscript-file-perl/debian/rules?rev=8295&op=diff
==============================================================================
--- trunk/libpostscript-file-perl/debian/rules (original)
+++ trunk/libpostscript-file-perl/debian/rules Wed Oct 17 07:28:38 2007
@@ -1,7 +1,74 @@
#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
+# 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/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/class/perlmodule.mk
+# 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
+
+ $(PERL) Makefile.PL INSTALLDIRS=vendor \
+ INSTALLVENDORARCH=/usr/share/perl5/ \
+ VENDORARCHEXP=/usr/share/perl5/
+ $(MAKE)
+ $(MAKE) test
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ dh_clean build-stamp install-stamp
+
+ [ ! -f Makefile ] || $(MAKE) realclean
+ [ ! -d test-results ] || rm -r test-results
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ $(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
+ 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