r45977 - in /trunk/libchamplain-perl/debian: control libchamplain-perl.docs rules

potyl-guest at users.alioth.debian.org potyl-guest at users.alioth.debian.org
Sun Oct 18 10:53:07 UTC 2009


Author: potyl-guest
Date: Sun Oct 18 10:53:02 2009
New Revision: 45977

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=45977
Log:
dh7 refresh
* debian/control
  - Remove the dependency on perl
* debian/rules
  - Full rewrite
* debian/libchamplain-perl.docs
  - New file

Added:
    trunk/libchamplain-perl/debian/libchamplain-perl.docs
Modified:
    trunk/libchamplain-perl/debian/control
    trunk/libchamplain-perl/debian/rules

Modified: trunk/libchamplain-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchamplain-perl/debian/control?rev=45977&op=diff
==============================================================================
--- trunk/libchamplain-perl/debian/control (original)
+++ trunk/libchamplain-perl/debian/control Sun Oct 18 10:53:02 2009
@@ -1,7 +1,7 @@
 Source: libchamplain-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), perl, libclutter-perl (>= 1.0000)
+Build-Depends: debhelper (>= 7), libclutter-perl (>= 1.0000)
 Standards-Version: 3.8.3
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Emmanuel Rodriguez <emmanuel.rodriguez at gmail.com>
@@ -11,7 +11,7 @@
 
 Package: libchamplain-perl
 Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends},
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends},
  libclutter-perl (>= 1.0000)
 Description: Map rendering canvas - perl bindings
  Champlain is a Perl binding for the C library libchamplain which provides a

Added: trunk/libchamplain-perl/debian/libchamplain-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchamplain-perl/debian/libchamplain-perl.docs?rev=45977&op=file
==============================================================================
--- trunk/libchamplain-perl/debian/libchamplain-perl.docs (added)
+++ trunk/libchamplain-perl/debian/libchamplain-perl.docs Sun Oct 18 10:53:02 2009
@@ -1,0 +1,1 @@
+README

Modified: trunk/libchamplain-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libchamplain-perl/debian/rules?rev=45977&op=diff
==============================================================================
--- trunk/libchamplain-perl/debian/rules (original)
+++ trunk/libchamplain-perl/debian/rules Sun Oct 18 10:53:02 2009
@@ -1,77 +1,4 @@
 #!/usr/bin/make -f
-# 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.
 
-# 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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(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)
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/share/perl5
-	touch $@
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples examples/*
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@




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