r68613 - in /trunk/libproc-processtable-perl/debian: changelog control rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon Feb 14 17:42:02 UTC 2011


Author: gregoa
Date: Mon Feb 14 17:41:42 2011
New Revision: 68613

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68613
Log:
* Minimize debian/rules.
* debian/rules: run hints/linux.pl explicitly when building on kFreeBSD;
  thanks to Gonéri Le Bouder for the bug report and the patch
  (closes: #613388).

Modified:
    trunk/libproc-processtable-perl/debian/changelog
    trunk/libproc-processtable-perl/debian/control
    trunk/libproc-processtable-perl/debian/rules

Modified: trunk/libproc-processtable-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-processtable-perl/debian/changelog?rev=68613&op=diff
==============================================================================
--- trunk/libproc-processtable-perl/debian/changelog (original)
+++ trunk/libproc-processtable-perl/debian/changelog Mon Feb 14 17:41:42 2011
@@ -23,6 +23,12 @@
 
   [ Ansgar Burchardt ]
   * Update my email address.
+
+  [ gregor herrmann ]
+  * Minimize debian/rules.
+  * debian/rules: run hints/linux.pl explicitly when building on kFreeBSD;
+    thanks to Gonéri Le Bouder for the bug report and the patch
+    (closes: #613388).
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:46:31 +0100
 

Modified: trunk/libproc-processtable-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-processtable-perl/debian/control?rev=68613&op=diff
==============================================================================
--- trunk/libproc-processtable-perl/debian/control (original)
+++ trunk/libproc-processtable-perl/debian/control Mon Feb 14 17:41:42 2011
@@ -6,7 +6,7 @@
  gregor herrmann <gregoa at debian.org>,
  Damyan Ivanov <dmn at debian.org>,
  Ansgar Burchardt <ansgar at debian.org>
-Build-Depends: debhelper (>= 7), perl
+Build-Depends: debhelper (>= 7.0.50~), perl
 Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/Proc-ProcessTable/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libproc-processtable-perl/

Modified: trunk/libproc-processtable-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-processtable-perl/debian/rules?rev=68613&op=diff
==============================================================================
--- trunk/libproc-processtable-perl/debian/rules (original)
+++ trunk/libproc-processtable-perl/debian/rules Mon Feb 14 17:41:42 2011
@@ -1,27 +1,18 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
+ARCH    = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+%:
 	dh $@
 
-install: install-stamp
-install-stamp: build-stamp
-	dh install --before auto_install
-	make DESTDIR=$(CURDIR)/debian/libproc-processtable-perl PREFIX=/usr install
-	rm -f $(CURDIR)/debian/libproc-processtable-perl/usr/lib/perl5/Proc/example.pl
-	dh install --after auto_install
-	touch $@
+override_dh_auto_configure:
+ifeq ($(ARCH),kfreebsd)
+	$(PERL) hints/linux.pl
+endif
+	dh_auto_configure
 
-binary-arch: install
-	dh $@
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+override_dh_auto_install:
+	dh_auto_install
+	$(RM) $(TMP)/usr/lib/perl5/Proc/example.pl




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