r44614 - in /trunk/libopengl-perl/debian: control rules

mxey-guest at users.alioth.debian.org mxey-guest at users.alioth.debian.org
Tue Sep 22 09:19:32 UTC 2009


Author: mxey-guest
Date: Tue Sep 22 09:19:19 2009
New Revision: 44614

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44614
Log:
Modernized debian/rules

Modified:
    trunk/libopengl-perl/debian/control
    trunk/libopengl-perl/debian/rules

Modified: trunk/libopengl-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libopengl-perl/debian/control?rev=44614&op=diff
==============================================================================
--- trunk/libopengl-perl/debian/control (original)
+++ trunk/libopengl-perl/debian/control Tue Sep 22 09:19:19 2009
@@ -1,7 +1,7 @@
 Source: libopengl-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7), perl (>> 5.8.1),
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7), perl (>> 5.8.1),
  libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev, libxmu-dev,
  freeglut3-dev | libglut-dev, libxi-dev, libx11-dev
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>

Modified: trunk/libopengl-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libopengl-perl/debian/rules?rev=44614&op=diff
==============================================================================
--- trunk/libopengl-perl/debian/rules (original)
+++ trunk/libopengl-perl/debian/rules Tue Sep 22 09:19:19 2009
@@ -1,67 +1,6 @@
 #! /usr/bin/make -f
-# -*-makefile-*-
-# debian/rules file for libopengl-perl
+override_dh_auto_test:
+	# Test is interactive, therefore disabled
 
-# use quilt to manage patches
-include /usr/share/quilt/quilt.make
-
-PERL	?= /usr/bin/perl
-
-package	:= $(firstword $(shell dh_listpackages))
-TMP   	:= $(CURDIR)/debian/$(package)
-
-cflags  := -g -Wall
-ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-cflags  += -O2
-else
-cflags  += -O0
-endif
-
-export CFLAGS=$(cflags)
-export CXXFLAGS=$(cflags)
-
-build:	build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor NO_DISPLAY PERL=$(PERL) INC="" LIBS="-lGLU -lglut -lGL -lX11"
-	$(MAKE) LD_RUN_PATH=
-	# perl -I blib/arch/ -I blib/lib test.pl
-	touch $@
-
-clean:	checkroot unpatch
-	rm -f build-stamp
-	# update the timestamp: 'unpatch' modifies Makefile.PL,
-	# which would cause a rebuild of the Makefile
-	if [ -f Makefile ]; then touch Makefile && $(MAKE) distclean; fi
-	dh_clean
-
-binary-indep:	checkroot build
-
-binary-arch:	checkroot build
-	dh_clean
-	dh_installdirs
-
-	$(MAKE) pure_install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
-	dh_installdocs README
-	dh_installexamples examples/.
-	dh_installchangelogs CHANGES
-
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_shlibdeps
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary:	binary-indep binary-arch
-
-checkroot:
-	dh_testdir
-	dh_testroot
-
-.PHONY:	binary binary-arch binary-indep clean checkroot build get-orig-source
+%:
+	dh --with quilt $@




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