r73932 - in /trunk/libnet-ip-perl/debian: changelog control libnet-ip-perl.examples rules source/ source/format

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue May 3 17:52:41 UTC 2011


Author: periapt-guest
Date: Tue May  3 17:51:26 2011
New Revision: 73932

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=73932
Log:
Refreshed debian/rules and add debian/source/format

Added:
    trunk/libnet-ip-perl/debian/libnet-ip-perl.examples
    trunk/libnet-ip-perl/debian/source/
    trunk/libnet-ip-perl/debian/source/format
Modified:
    trunk/libnet-ip-perl/debian/changelog
    trunk/libnet-ip-perl/debian/control
    trunk/libnet-ip-perl/debian/rules

Modified: trunk/libnet-ip-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ip-perl/debian/changelog?rev=73932&op=diff
==============================================================================
--- trunk/libnet-ip-perl/debian/changelog (original)
+++ trunk/libnet-ip-perl/debian/changelog Tue May  3 17:51:26 2011
@@ -6,6 +6,7 @@
   * Raised debhelper version and compat level to 7
   * Removed version in perl dependency
   * Removed README file
+  * Refreshed debian/rules and add debian/source/format
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 03 May 2011 17:19:49 +0100
 

Modified: trunk/libnet-ip-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ip-perl/debian/control?rev=73932&op=diff
==============================================================================
--- trunk/libnet-ip-perl/debian/control (original)
+++ trunk/libnet-ip-perl/debian/control Tue May  3 17:51:26 2011
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Nicholas Bamber <nicholas at periapt.co.uk>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~)
 Build-Depends-Indep: perl
 Standards-Version: 3.9.2
 

Added: trunk/libnet-ip-perl/debian/libnet-ip-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ip-perl/debian/libnet-ip-perl.examples?rev=73932&op=file
==============================================================================
--- trunk/libnet-ip-perl/debian/libnet-ip-perl.examples (added)
+++ trunk/libnet-ip-perl/debian/libnet-ip-perl.examples Tue May  3 17:51:26 2011
@@ -1,0 +1,2 @@
+ipcount
+iptab

Modified: trunk/libnet-ip-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ip-perl/debian/rules?rev=73932&op=diff
==============================================================================
--- trunk/libnet-ip-perl/debian/rules (original)
+++ trunk/libnet-ip-perl/debian/rules Tue May  3 17:51:26 2011
@@ -1,73 +1,13 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+PKG:=$(shell dh_listpackages)
+TMP:=$(CURDIR)/debian/$(PKG)
+EG:=$(TMP)/usr/share/doc/$(PKG)/examples
 
-PACKAGE=$(shell dh_listpackages)
+%:
+	dh $@
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
+override_dh_install:
+	dh_install
+	rm -rf $(TMP)/usr/bin
 
-ifndef DESTDIR
-DESTDIR=..
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	perl Makefile.PL INSTALLDIRS=vendor 
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	rm -f build-stamp
-
-	# Next line changed as per bug #325372
-	#-$(MAKE) clean
-	[ ! -f Makefile ] || make clean
-	rm -f Makefile.old
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add here commands to install the package into debian/libnet-ip-perl.
-	$(MAKE) install PREFIX=$(TMP)/usr
-	# iptab and ipcount are provided only as examples, and we
-	# don't want to put them in /usr/bin, so we remove them for now,
-	# barring any opposition.
-	rm $(TMP)/usr/bin/iptab
-	rm $(TMP)/usr/bin/ipcount
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs Changes
-	dh_installdocs
-	dh_installexamples blib/script/ipcount blib/script/iptab
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install

Added: trunk/libnet-ip-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-ip-perl/debian/source/format?rev=73932&op=file
==============================================================================
--- trunk/libnet-ip-perl/debian/source/format (added)
+++ trunk/libnet-ip-perl/debian/source/format Tue May  3 17:51:26 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)




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