r14077 - packages/trunk/torus-trooper/debian

Peter De Wachter pdewacht-guest at alioth.debian.org
Sun May 19 13:20:38 UTC 2013


Author: pdewacht-guest
Date: 2013-05-19 13:20:38 +0000 (Sun, 19 May 2013)
New Revision: 14077

Modified:
   packages/trunk/torus-trooper/debian/changelog
   packages/trunk/torus-trooper/debian/compat
   packages/trunk/torus-trooper/debian/control
   packages/trunk/torus-trooper/debian/copyright
   packages/trunk/torus-trooper/debian/rules
Log:
torus-trooper: convert to dh-style rules, general cleanup


Modified: packages/trunk/torus-trooper/debian/changelog
===================================================================
--- packages/trunk/torus-trooper/debian/changelog	2013-05-19 13:14:29 UTC (rev 14076)
+++ packages/trunk/torus-trooper/debian/changelog	2013-05-19 13:20:38 UTC (rev 14077)
@@ -2,6 +2,8 @@
 
   * Ported to D language version 2
     - Dropped the torus-trooper-pure variant
+  * Switch dh-style minimal rules file
+  * Conforms to standards 3.9.4
 
  -- Peter De Wachter <pdewacht at gmail.com>  Sun, 19 May 2013 15:07:01 +0200
 

Modified: packages/trunk/torus-trooper/debian/compat
===================================================================
--- packages/trunk/torus-trooper/debian/compat	2013-05-19 13:14:29 UTC (rev 14076)
+++ packages/trunk/torus-trooper/debian/compat	2013-05-19 13:20:38 UTC (rev 14077)
@@ -1 +1 @@
-5
+9

Modified: packages/trunk/torus-trooper/debian/control
===================================================================
--- packages/trunk/torus-trooper/debian/control	2013-05-19 13:14:29 UTC (rev 14076)
+++ packages/trunk/torus-trooper/debian/control	2013-05-19 13:20:38 UTC (rev 14077)
@@ -3,10 +3,10 @@
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Peter De Wachter <pdewacht at gmail.com>
-Build-Depends: debhelper (>= 5), gdc,
+Build-Depends: debhelper (>= 9), gdc,
  libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev,
  libsdl1.2-dev, libsdl-mixer1.2-dev, libbulletml-dev
-Standards-Version: 3.9.3
+Standards-Version: 3.9.4
 Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt_e.html
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/torus-trooper/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/torus-trooper/?op=log

Modified: packages/trunk/torus-trooper/debian/copyright
===================================================================
--- packages/trunk/torus-trooper/debian/copyright	2013-05-19 13:14:29 UTC (rev 14076)
+++ packages/trunk/torus-trooper/debian/copyright	2013-05-19 13:20:38 UTC (rev 14077)
@@ -60,8 +60,8 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
 On Debian systems, the complete text of the GNU Lesser General
-Public License can be found in `/usr/share/common-licenses/LGPL'.
+Public License can be found in `/usr/share/common-licenses/LGPL-2'.
 
 
 The Debian packaging is © 2007, Miriam Ruiz <little_miry at yahoo.es> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.

Modified: packages/trunk/torus-trooper/debian/rules
===================================================================
--- packages/trunk/torus-trooper/debian/rules	2013-05-19 13:14:29 UTC (rev 14076)
+++ packages/trunk/torus-trooper/debian/rules	2013-05-19 13:20:38 UTC (rev 14077)
@@ -1,67 +1,20 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-DFLAGS = -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	DFLAGS += -fdebug
+        DFLAGS = -fdebug
 else
-	DFLAGS += -O2 -frelease
+        DFLAGS = -frelease
 endif
 
-patch: patch-stamp
-patch-stamp:
-	dh_testdir
-	touch $@
 
-build: build-arch build-indep
+%:
+	dh $@
 
-build-arch: build-stamp
-build-indep: build-stamp
+override_dh_auto_build:
+	dh_auto_build -- DFLAGS="$(DFLAGS)"
 
-build-stamp: patch-stamp 
-	dh_testdir
-	$(MAKE) DFLAGS="$(DFLAGS)"
-	touch $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp patch-stamp
-	rm -f torus-trooper
-	rm -f `find . -name "*.o"`
-	dh_clean 
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-# Build architecture-independent files here.
-binary-indep: build install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-	dh_install
-	dh_installmenu
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
 get-orig-source:
 	dh_testdir
 	dh_testroot
@@ -73,6 +26,3 @@
 	rm tt/resource/*.RES
 	tar cvfz ../tt_0.22.dfsg1.orig.tar.gz tt
 	rm -rf tt0_22.zip tt
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install patch get-orig-source




More information about the Pkg-games-commits mailing list