r31195 - in /trunk/libterm-readline-gnu-perl/debian: changelog compat control rules

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sat Feb 28 02:40:51 UTC 2009


Author: ryan52-guest
Date: Sat Feb 28 02:40:47 2009
New Revision: 31195

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=31195
Log:
debhelper 7

Modified:
    trunk/libterm-readline-gnu-perl/debian/changelog
    trunk/libterm-readline-gnu-perl/debian/compat
    trunk/libterm-readline-gnu-perl/debian/control
    trunk/libterm-readline-gnu-perl/debian/rules

Modified: trunk/libterm-readline-gnu-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libterm-readline-gnu-perl/debian/changelog?rev=31195&op=diff
==============================================================================
--- trunk/libterm-readline-gnu-perl/debian/changelog (original)
+++ trunk/libterm-readline-gnu-perl/debian/changelog Sat Feb 28 02:40:47 2009
@@ -12,8 +12,9 @@
 
   [ Ryan Niebur ]
   * New upstream release
-
- -- Ryan Niebur <ryanryan52 at gmail.com>  Fri, 27 Feb 2009 18:31:43 -0800
+  * debhelper 7
+
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Fri, 27 Feb 2009 18:40:19 -0800
 
 libterm-readline-gnu-perl (1.17a-2) unstable; urgency=low
 

Modified: trunk/libterm-readline-gnu-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libterm-readline-gnu-perl/debian/compat?rev=31195&op=diff
==============================================================================
--- trunk/libterm-readline-gnu-perl/debian/compat (original)
+++ trunk/libterm-readline-gnu-perl/debian/compat Sat Feb 28 02:40:47 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libterm-readline-gnu-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libterm-readline-gnu-perl/debian/control?rev=31195&op=diff
==============================================================================
--- trunk/libterm-readline-gnu-perl/debian/control (original)
+++ trunk/libterm-readline-gnu-perl/debian/control Sat Feb 28 02:40:47 2009
@@ -6,7 +6,7 @@
  Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Carlo Segre <segre at debian.org>,
  Martín Ferrari <tincho at debian.org>
 Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 5), perl (>= 5.8), libreadline5-dev,
+Build-Depends: debhelper (>= 7), perl (>= 5.8), libreadline5-dev,
  quilt
 Homepage: http://search.cpan.org/dist/Term-ReadLine-Gnu/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libterm-readline-gnu-perl/

Modified: trunk/libterm-readline-gnu-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libterm-readline-gnu-perl/debian/rules?rev=31195&op=diff
==============================================================================
--- trunk/libterm-readline-gnu-perl/debian/rules (original)
+++ trunk/libterm-readline-gnu-perl/debian/rules Sat Feb 28 02:40:47 2009
@@ -1,73 +1,27 @@
 #!/usr/bin/make -f
-#-*- makefile -*-
-
-#export DH_VERBOSE=1
-export PERL_MM_USE_DEFAULT=1
 
 include /usr/share/quilt/quilt.make
 
-PERL    ?= /usr/bin/perl
-PACKAGE  = $(shell dh_listpackages)
-TMP      = $(CURDIR)/debian/$(PACKAGE)
-DOCDIR   = $(TMP)/usr/share/doc/$(PACKAGE)
-
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CGLAGS)" LD_RUN_PATH="" \
-		 LDLOADLIBS="-lreadline -lncurses -lc"
+	dh --before dh_auto_test build
 	# the test suite needs an interactive terminal to run
-	# $(MAKE) test
+	dh --after dh_auto_test build
 	touch $@
 
-clean: clean-patched unpatch
-clean-patched:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+clean: unpatch
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents \
-		$(TMP)/usr/share/perl5
+	dh install
 	touch $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do.
+binary-arch: install
+	dh $@
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples eg/*
-	chmod a-x $(DOCDIR)/examples/*
-	dh_installdocs README
-	dh_installchangelogs
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep:
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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