[Pkg-sdl-commits] r215 - experimental/sdlperl/debian
Ryan Niebur
ryan52-guest at alioth.debian.org
Wed Sep 2 06:25:17 UTC 2009
Author: ryan52-guest
Date: 2009-09-02 06:24:54 +0000 (Wed, 02 Sep 2009)
New Revision: 215
Modified:
experimental/sdlperl/debian/changelog
experimental/sdlperl/debian/compat
experimental/sdlperl/debian/control
experimental/sdlperl/debian/rules
Log:
convert to dh7
Modified: experimental/sdlperl/debian/changelog
===================================================================
--- experimental/sdlperl/debian/changelog 2009-09-02 06:15:12 UTC (rev 214)
+++ experimental/sdlperl/debian/changelog 2009-09-02 06:24:54 UTC (rev 215)
@@ -4,8 +4,9 @@
* add watch file
* new upstream release
- refresh patches
+ * convert to dh7
- -- Ryan Niebur <ryanryan52 at gmail.com> Tue, 01 Sep 2009 23:08:41 -0700
+ -- Ryan Niebur <ryanryan52 at gmail.com> Tue, 01 Sep 2009 23:20:39 -0700
sdlperl (2.1.2-2) experimental; urgency=low
Modified: experimental/sdlperl/debian/compat
===================================================================
--- experimental/sdlperl/debian/compat 2009-09-02 06:15:12 UTC (rev 214)
+++ experimental/sdlperl/debian/compat 2009-09-02 06:24:54 UTC (rev 215)
@@ -1 +1 @@
-4
+7
Modified: experimental/sdlperl/debian/control
===================================================================
--- experimental/sdlperl/debian/control 2009-09-02 06:15:12 UTC (rev 214)
+++ experimental/sdlperl/debian/control 2009-09-02 06:24:54 UTC (rev 215)
@@ -4,7 +4,7 @@
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.debian.org>
Uploaders: Matthew Danish <mrd at debian.org>, Zephaniah E. Hull <warp at debian.org>, Sam Hocevar (Debian packages) <sam+deb at zoy.org>, Aurelien Jarno <aurel32 at debian.org>, Josselin Mouette <joss at debian.org>,
Ryan Niebur <ryanryan52 at gmail.com>
-Build-Depends: debhelper (>= 4.0), quilt, perl (>= 5.8), libmodule-build-perl, libtest-simple-perl, libsdl1.2-dev (>= 1.2.5-3), libsdl-image1.2-dev, libsdl-mixer1.2-dev (>= 1.2.5-2), libsdl-ttf2.0-dev, libsdl-gfx1.2-dev, libsdl-net1.2-dev
+Build-Depends: debhelper (>= 7.0.50), quilt, perl (>= 5.8), libmodule-build-perl, libtest-simple-perl, libsdl1.2-dev (>= 1.2.5-3), libsdl-image1.2-dev, libsdl-mixer1.2-dev (>= 1.2.5-2), libsdl-ttf2.0-dev, libsdl-gfx1.2-dev, libsdl-net1.2-dev
Standards-Version: 3.8.0
Package: libsdl-perl
Modified: experimental/sdlperl/debian/rules
===================================================================
--- experimental/sdlperl/debian/rules 2009-09-02 06:15:12 UTC (rev 214)
+++ experimental/sdlperl/debian/rules 2009-09-02 06:24:54 UTC (rev 215)
@@ -1,96 +1,33 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
ifeq (hppa,$(DEB_BUILD_ARCH))
CC="gcc -ffunction-sections"
else
CC="gcc"
endif
-configure: configure-stamp
-configure-stamp:
- dh_testdir
-
- QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+%:
+ dh --with quilt $@
- # Configure the package and make sure we link with g++
- perl Build.PL --config cc=$(CC) --config ld=g++
+CMD=$(subst override_,,$@)
- touch configure-stamp
+override_dh_auto_configure:
+ $(CMD) -- --config cc=$(CC) --config ld=g++
-build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
-
- ./Build
- -./Build test
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
-
- -./Build realclean
+override_dh_auto_clean:
+ $(CMD)
rm -f lib/SDL/Config.pm
rm -f build-stamp configure-stamp
-
- QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
-
- dh_clean
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- ./Build install installdirs=vendor destdir=$(CURDIR)/debian/libsdl-perl
-
+override_dh_auto_test:
+ -$(CMD)
+
+override_dh_installexamples:
# Install examples
cp test/*.pl `pwd`/debian/libsdl-perl/usr/share/doc/libsdl-perl/test/
cp -a test/data `pwd`/debian/libsdl-perl/usr/share/doc/libsdl-perl/test/
rm -f `pwd`/debian/libsdl-perl/usr/share/doc/libsdl-perl/test/data/*ttf
cp -a test/OpenGL `pwd`/debian/libsdl-perl/usr/share/doc/libsdl-perl/
-binary-indep: build install
- dh_testdir -i
- dh_testroot -i
- dh_installdocs -i
- dh_installexamples -i
- dh_installmenu -i
- dh_installcron -i
- dh_installinfo -i
- dh_installchangelogs CHANGELOG -i
- dh_link -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary-arch: build install
- dh_testdir -a
- dh_testroot -a
- dh_installdocs -a
- dh_installexamples -a
- dh_installmenu -a
- dh_installcron -a
- dh_installinfo -a
- dh_installchangelogs CHANGELOG -a
- dh_strip -a
- dh_link -a
- dh_compress -a
- dh_fixperms -a
- dh_installdeb -a
- dh_perl -a usr/lib/perl5
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+override_dh_installchangelogs:
+ $(CMD) CHANGELOG
More information about the pkg-sdl-commits
mailing list