r11005 - in packages/trunk/teeworlds/debian: . source
Felix Geyer
debfx-guest at alioth.debian.org
Mon May 31 22:06:33 UTC 2010
Author: debfx-guest
Date: 2010-05-31 22:06:32 +0000 (Mon, 31 May 2010)
New Revision: 11005
Added:
packages/trunk/teeworlds/debian/source/
packages/trunk/teeworlds/debian/source/format
packages/trunk/teeworlds/debian/teeworlds-server.manpages
packages/trunk/teeworlds/debian/teeworlds.manpages
Modified:
packages/trunk/teeworlds/debian/changelog
packages/trunk/teeworlds/debian/compat
packages/trunk/teeworlds/debian/control
packages/trunk/teeworlds/debian/rules
Log:
Switch to dh7 rules and source format 3.0 (quilt).
Bump debian/compat to 7.
Modified: packages/trunk/teeworlds/debian/changelog
===================================================================
--- packages/trunk/teeworlds/debian/changelog 2010-05-31 21:47:53 UTC (rev 11004)
+++ packages/trunk/teeworlds/debian/changelog 2010-05-31 22:06:32 UTC (rev 11005)
@@ -8,8 +8,10 @@
hardcoded and teeworlds suppresses the screensaver by using SDL.
* Add ${misc:Depends} to teeworlds-data dependencies.
* Bump Standards-Version to 3.8.4, no changes needed.
+ * Switch to dh7 rules and source format 3.0 (quilt).
+ * Bump debian/compat to 7.
- -- Felix Geyer <debfx-pkg at fobos.de> Mon, 31 May 2010 23:28:20 +0200
+ -- Felix Geyer <debfx-pkg at fobos.de> Tue, 01 Jun 2010 00:03:16 +0200
teeworlds (0.5.1-4) unstable; urgency=low
Modified: packages/trunk/teeworlds/debian/compat
===================================================================
--- packages/trunk/teeworlds/debian/compat 2010-05-31 21:47:53 UTC (rev 11004)
+++ packages/trunk/teeworlds/debian/compat 2010-05-31 22:06:32 UTC (rev 11005)
@@ -1 +1 @@
-5
+7
Modified: packages/trunk/teeworlds/debian/control
===================================================================
--- packages/trunk/teeworlds/debian/control 2010-05-31 21:47:53 UTC (rev 11004)
+++ packages/trunk/teeworlds/debian/control 2010-05-31 22:06:32 UTC (rev 11005)
@@ -3,8 +3,8 @@
Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Jack Coulter <jscinoz at gmail.com>, Felix Geyer <debfx-pkg at fobos.de>
-Build-Depends: debhelper (>= 5), unzip, python, freeglut3-dev,
- portaudio19-dev, zlib1g-dev, libwavpack-dev, libglfw-dev, quilt,
+Build-Depends: debhelper (>= 7.0.50~), unzip, python, freeglut3-dev,
+ portaudio19-dev, zlib1g-dev, libwavpack-dev, libglfw-dev,
libpnglite-dev, libx11-dev, libxrandr-dev, bam, libsdl1.2-dev
Standards-Version: 3.8.4
Homepage: http://www.teeworlds.com/
Modified: packages/trunk/teeworlds/debian/rules
===================================================================
--- packages/trunk/teeworlds/debian/rules 2010-05-31 21:47:53 UTC (rev 11004)
+++ packages/trunk/teeworlds/debian/rules 2010-05-31 22:06:32 UTC (rev 11005)
@@ -1,102 +1,23 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-include /usr/share/quilt/quilt.make
-DEB_SOURCE_PACKAGE:=$(shell dpkg-parsechangelog | grep Source |cut -f2 -d" ")
-VERSION:=$(shell dpkg-parsechangelog | grep Version | cut -d" " -f2|cut -d"-" -f1)
-TMPDIR:=$(shell mktemp -dp./)
+%:
+ dh $@
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-get-orig-source:
- uscan --force-download --no-symlink
- tar -xvf ../teeworlds-$(VERSION)-src.tar.gz -C $(TMPDIR)
- cd $(TMPDIR)/teeworlds-$(VERSION)-src; \
- wget http://teeworlds.com/files/bam.zip; \
- unzip bam.zip; \
- rm bam.zip; \
- tar -c * | gzip --best -c - > \
- ../../../${DEB_SOURCE_PACKAGE}_$(VERSION).orig.tar.gz
- rm ../teeworlds-$(VERSION)-src.tar.gz
- rm -rf ${TMPDIR}
-
-build: $(QUILT_STAMPFN)
- dh_testdir
+override_dh_auto_build:
bam release
+
+override_dh_auto_install:
mv teeworlds_srv teeworlds-server
-clean:
- dh_testdir
+override_dh_auto_clean:
bam -c
- QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt --quiltrc /dev/null pop -a -R || test $$? = 2
find -type f -name '*.o' -exec rm {} \;
- rm -rf src/engine/external # Drop the embedded libs to be sure with link
-# the system side lib
- rm -rf tmp.* debian/stamp-patched .pc config.bam fake_server map_resave crapnet tileset_borderfix teeworlds_srv dilate versionsrv packetgen mastersrv teeworlds
- dh_clean datasrc/*.pyc
+ rm -rf src/engine/external # Drop the embedded libs to be sure with link the system side lib
+ rm -rf tmp.* debian/stamp-patched .pc config.bam fake_server map_resave crapnet
+ rm -rf tileset_borderfix teeworlds_srv dilate versionsrv packetgen mastersrv teeworlds
+ rm -f datasrc/*.pyc
-install: install-indep install-arch
-
-
-install-indep:
- dh_testdir
- dh_testroot
- dh_clean -k -i
- dh_installdirs -i
- find data -type f -exec chmod 644 {} \;
- dh_install -i
-
-install-arch: build
- dh_testdir
- dh_testroot
- dh_clean -k -s
- dh_installdirs -s
-
- dh_installman -pteeworlds debian/teeworlds.6
- dh_installman -pteeworlds-server debian/teeworlds-server.6
-
- dh_install -s
-
-
-# Build architecture-independent files here.
-binary-indep: install-indep
- $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-# Build architecture-dependent files here.
-binary-arch: install-arch
- $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
-
-# Build architecture-dependent files here.
-binary-common:
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installmenu
- dh_installchangelogs
- dh_link
- dh_strip
- dh_compress
+override_dh_fixperms:
dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
+ find debian/teeworlds-data -type f -exec chmod 644 {} \;
Added: packages/trunk/teeworlds/debian/source/format
===================================================================
--- packages/trunk/teeworlds/debian/source/format (rev 0)
+++ packages/trunk/teeworlds/debian/source/format 2010-05-31 22:06:32 UTC (rev 11005)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/trunk/teeworlds/debian/teeworlds-server.manpages
===================================================================
--- packages/trunk/teeworlds/debian/teeworlds-server.manpages (rev 0)
+++ packages/trunk/teeworlds/debian/teeworlds-server.manpages 2010-05-31 22:06:32 UTC (rev 11005)
@@ -0,0 +1 @@
+debian/teeworlds-server.6
Added: packages/trunk/teeworlds/debian/teeworlds.manpages
===================================================================
--- packages/trunk/teeworlds/debian/teeworlds.manpages (rev 0)
+++ packages/trunk/teeworlds/debian/teeworlds.manpages 2010-05-31 22:06:32 UTC (rev 11005)
@@ -0,0 +1 @@
+debian/teeworlds.6
More information about the Pkg-games-commits
mailing list