[SCM] Debian packaging of libimage-exif-perl branch, master, updated. 0615eb2f29dbe6f9d02cc5eef38db8e876a4462b
gregor herrmann
gregoa at debian.org
Sun May 27 17:51:39 UTC 2012
The following commit has been merged in the master branch:
commit 36add5661b227c66fdc9d871916cbee2809dbed0
Author: gregor herrmann <gregoa at debian.org>
Date: Sun May 27 19:25:25 2012 +0200
Use debhelper >= 9 and tiny debian/rules.
diff --git a/debian/compat b/debian/compat
index 1e8b314..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+9
diff --git a/debian/control b/debian/control
index 1dd01d4..a579231 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Section: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa at debian.org>,
Damyan Ivanov <dmn at debian.org>
-Build-Depends: debhelper (>= 6), perl (>= 5.8.0)
+Build-Depends: debhelper (>= 9.20120312), perl (>= 5.8.0)
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Image-EXIF/
Vcs-Git: git://git.debian.org/pkg-perl/packages/libimage-exif-perl.git
diff --git a/debian/libimage-exif-perl.examples b/debian/libimage-exif-perl.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/libimage-exif-perl.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/rules b/debian/rules
index 88d109f..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,86 +1,3 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# 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
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-PACKAGE=$(shell dh_listpackages)
-TMP=$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- # Add here commands to compile the package.
- $(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
-
- # upstream ships broken Makefile. We re-create it here so the
- # distclean can work
- # http://rt.cpan.org/Public/Bug/Display.html?id=32641
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- [ ! -e Makefile ] || \
- ( $(PERL) Makefile.PL INSTALLDIRS=vendor && $(MAKE) distclean )
-
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # Add here commands to install the package into debian/libimage-exif/usr
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
-
- rm $(TMP)/usr/lib/perl5/Image/rename.pl
- rm $(TMP)/usr/lib/perl5/Image/t.pl
- rm $(TMP)/usr/lib/perl5/Image/create_web_gallery.pl
-
- touch $@
-
-# 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 rename.pl create_web_gallery.pl
- dh_strip
- 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 configure
+%:
+ dh $@
--
Debian packaging of libimage-exif-perl
More information about the Pkg-perl-cvs-commits
mailing list