[Pkg-allegro-commits] r26 - in atanks/trunk: . debian debian/patches
Mark Purcell
msp at costa.debian.org
Tue Sep 12 22:07:56 UTC 2006
Author: msp
Date: 2006-09-12 22:07:36 +0000 (Tue, 12 Sep 2006)
New Revision: 26
Added:
atanks/trunk/debian/
atanks/trunk/debian/atanks-data.install
atanks/trunk/debian/atanks.6
atanks/trunk/debian/atanks.install
atanks/trunk/debian/changelog
atanks/trunk/debian/compat
atanks/trunk/debian/control
atanks/trunk/debian/copyright
atanks/trunk/debian/docs
atanks/trunk/debian/icon.xpm
atanks/trunk/debian/menu
atanks/trunk/debian/patches/
atanks/trunk/debian/patches/00list
atanks/trunk/debian/patches/01_debian-patch.dpatch
atanks/trunk/debian/rules
atanks/trunk/debian/watch
Log:
Load newtrunk into atanks/trunk.
Added: atanks/trunk/debian/atanks-data.install
===================================================================
--- atanks/trunk/debian/atanks-data.install (rev 0)
+++ atanks/trunk/debian/atanks-data.install 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,13 @@
+button.dat /usr/share/games/atanks
+credits.txt /usr/share/games/atanks
+gloat.txt /usr/share/games/atanks
+Help.txt /usr/share/games/atanks
+instr.txt /usr/share/games/atanks
+misc.dat /usr/share/games/atanks
+missile.dat /usr/share/games/atanks
+revenge.txt /usr/share/games/atanks
+sound.dat /usr/share/games/atanks
+stock.dat /usr/share/games/atanks
+tank.dat /usr/share/games/atanks
+tankgun.dat /usr/share/games/atanks
+title.dat /usr/share/games/atanks
Added: atanks/trunk/debian/atanks.6
===================================================================
--- atanks/trunk/debian/atanks.6 (rev 0)
+++ atanks/trunk/debian/atanks.6 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,67 @@
+.\" $Id$
+.\"
+.\" Copyright (C) 2004 Graham Wilson <graham at debian.org>
+.\"
+.\" Permission is hereby granted, free of charge, to any person obtaining
+.\" a copy of this software and associated documentation files (the
+.\" "Software"), to deal in the Software without restriction, including
+.\" without limitation the rights to use, copy, modify, merge, publish,
+.\" distribute, sublicense, and/or sell copies of the Software, and to
+.\" permit persons to whom the Software is furnished to do so, subject to
+.\" the following conditions:
+.\"
+.\" The above copyright notice and this permission notice shall be
+.\" included in all copies or substantial portions of the Software.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+.\" IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+.\" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+.\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+.\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+.TH ATANKS 6 "17 April 2004" "" atanks
+.\"
+.SH NAME
+atanks \- obliterate each other with oversize weapons
+.\"
+.SH SYNOPSIS
+.B atanks
+[\fIoptions\fP]
+.\"
+.SH DESCRIPTION
+Atomic Tanks is a multi\-player game in which you attempt to destroy
+other tanks while trying to protect your own. You earn money for
+destroying other tanks; with this money you can buy upgrades and better
+weapons for your tank.
+.PP
+This game is similar Scorched Earth or the Worms series of games.
+.\""
+.SH OPTIONS
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+display extra information while running
+.TP
+\fB\-h\fR
+display a brief message showing which options can be used
+.TP
+\fB\-fs\fR
+run Atomic Tanks in full screen mode
+.TP
+\fB\-\-windowed\fR
+run Atomic Tanks in a window (this is the default)
+.TP
+\fB\-d\fR, \fB\-\-depth\fR 16|32
+set th the color depth to either 16 or 32 bits
+.TP
+\fB\-w\fR, \fB\-\-width \fIwidth\fR
+set the window width (default is 800)
+.TP
+\fB\-\-height \fIheight\fR
+set the window height (default is 600)
+.\"
+.SH AUTHOR
+Atomic Tanks was written by Tom Hudson <tom at singular.org.uk>. This
+manual page was written by Graham Wilson <graham at debian.org> for the
+Debian project, but may be used by others.
Added: atanks/trunk/debian/atanks.install
===================================================================
--- atanks/trunk/debian/atanks.install (rev 0)
+++ atanks/trunk/debian/atanks.install 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1 @@
+atanks /usr/games
Added: atanks/trunk/debian/changelog
===================================================================
--- atanks/trunk/debian/changelog (rev 0)
+++ atanks/trunk/debian/changelog 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,54 @@
+atanks (1.1.0-6) unstable; urgency=low
+
+ * New Maintainer. (Closes: Bug#362084)
+ - Thanks to Graham Wilson for maintenance todate
+ * Lintian cleanup: not-binnmuable-any-depends-all
+ * Prep for upload to svn.debian.org/pkg-allegro
+ - Convert/ Build-Depends: dpatch
+ - Update debian/watch
+
+ -- Mark Purcell <msp at debian.org> Tue, 12 Sep 2006 08:40:55 +0100
+
+atanks (1.1.0-5) unstable; urgency=low
+
+ * QA upload.
+ * Package is orphaned (#362084); set maintainer to Debian QA Group.
+ * Link against liballegro4.2. Closes: #350857.
+ * debian/copyright: Update FSF address.
+ * debian/watch: Add.
+ * Conforms to Standards version 3.7.2.
+
+ -- Matej Vela <vela at debian.org> Thu, 3 Aug 2006 06:35:39 +0200
+
+atanks (1.1.0-4) unstable; urgency=low
+
+ * Include copyright information in copyright file. (closes: #290061)
+ * Remove the watch file, since it currently is broken. It'd be
+ appreciated if someone can send me a working one.
+ * Use int where the code was using char as a boolean value.
+ - cuts down on the number of compiler warnings
+ - no need to compile with -fsigned-char
+ * Use fabs where abs was ambiguous. (closes: #318527)
+ * Update standards version. No changes.
+
+ -- Graham Wilson <graham at debian.org> Sat, 16 Jul 2005 22:39:13 +0000
+
+atanks (1.1.0-3) unstable; urgency=low
+
+ * Apply patch from Jan Hudec to use 1.0 as the default damage multiplier when
+ no other information is available (e.g. a meteor). (closes: #250641)
+
+ -- Graham Wilson <graham at debian.org> Sun, 11 Jul 2004 16:18:31 +0000
+
+atanks (1.1.0-2) unstable; urgency=low
+
+ * Include Help.txt in the doc dir. (closes: #247646)
+ * Correct the watch file.
+
+ -- Graham Wilson <graham at debian.org> Fri, 07 May 2004 04:18:25 +0000
+
+atanks (1.1.0-1) unstable; urgency=low
+
+ * Initial release. (closes: #227648)
+
+ -- Graham Wilson <graham at debian.org> Tue, 09 Mar 2004 05:34:39 +0000
Added: atanks/trunk/debian/compat
===================================================================
--- atanks/trunk/debian/compat (rev 0)
+++ atanks/trunk/debian/compat 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1 @@
+4
Added: atanks/trunk/debian/control
===================================================================
--- atanks/trunk/debian/control (rev 0)
+++ atanks/trunk/debian/control 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,33 @@
+Source: atanks
+Section: games
+Priority: optional
+Maintainer: Mark Purcell <msp at debian.org>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 4.1), dpatch, liballegro4.2-dev | liballegro-dev
+
+Package: atanks
+Section: games
+Priority: optional
+Architecture: any
+Depends: ${shlibs:Depends}, atanks-data (= ${source:Version})
+Description: tank-battling game
+ Atomic tanks is a multi-player game in which you attempt to destroy
+ other tanks while trying to protect your own. You earn money for
+ destroying other tanks; with this money you can buy upgrades and better
+ weapons for your tank.
+ .
+ This game is similar Scorched Earth or the Worms series of games.
+
+Package: atanks-data
+Section: games
+Priority: optional
+Architecture: all
+Description: data files for Atomic tanks
+ Atomic tanks is a multi-player game in which you attempt to destroy
+ other tanks while trying to protect your own. You earn money for
+ destroying other tanks; with this money you can buy upgrades and better
+ weapons for your tank.
+ .
+ This game is similar Scorched Earth or the Worms series of games.
+ .
+ This package holds the data files needed for Atomic tanks.
Added: atanks/trunk/debian/copyright
===================================================================
--- atanks/trunk/debian/copyright (rev 0)
+++ atanks/trunk/debian/copyright 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,23 @@
+Atomic tanks was written by Tom Hudson, Stevante Software and Kota543
+Software. The Debian package is maintained by Graham Wilson.
+
+The source was obtained from: http://atanks.sourceforge.net/
+
+Copyright (C) 2002,2003 Thomas Hudson,Juraj Michalek
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, a copy of the GNU General public license can be found
+in `/usr/share/common-licenses/GPL'.
Added: atanks/trunk/debian/docs
===================================================================
--- atanks/trunk/debian/docs (rev 0)
+++ atanks/trunk/debian/docs 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,3 @@
+BUGS
+TODO
+Help.txt
Added: atanks/trunk/debian/icon.xpm
===================================================================
--- atanks/trunk/debian/icon.xpm (rev 0)
+++ atanks/trunk/debian/icon.xpm 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,100 @@
+/* XPM */
+static char * icon_xpm[] = {
+"32 32 65 1",
+" c None",
+". c #020501",
+"+ c #0E1409",
+"@ c #271426",
+"# c #212500",
+"$ c #22242B",
+"% c #073D00",
+"& c #2A2F27",
+"* c #323304",
+"= c #005B00",
+"- c #4B3127",
+"; c #47380F",
+"> c #23550E",
+", c #294F2E",
+"' c #5B3061",
+") c #007200",
+"! c #384A49",
+"~ c #583961",
+"{ c #643849",
+"] c #4F4C2A",
+"^ c #0B702B",
+"/ c #4A4B49",
+"( c #216C08",
+"_ c #BE1438",
+": c #505218",
+"< c #494A69",
+"[ c #665033",
+"} c #306F23",
+"| c #773E77",
+"1 c #009103",
+"2 c #2C7141",
+"3 c #7E4167",
+"4 c #87397D",
+"5 c #4E6E24",
+"6 c #864278",
+"7 c #884386",
+"8 c #2F8A05",
+"9 c #238D28",
+"0 c #9A427A",
+"a c #686A2D",
+"b c #646D4D",
+"c c #9B4D88",
+"d c #7B607C",
+"e c #964F92",
+"f c #696D70",
+"g c #876667",
+"h c #A75088",
+"i c #7D629B",
+"j c #1AAD1A",
+"k c #4F8F4E",
+"l c #588F39",
+"m c #AC5399",
+"n c #3DAD07",
+"o c #8868B0",
+"p c #B65F9B",
+"q c #4CAB25",
+"r c #88894A",
+"s c #64A333",
+"t c #6293AB",
+"u c #5D9BA5",
+"v c #42E044",
+"w c #A5B26E",
+"x c #AAA8AC",
+"y c #6CDB53",
+"z c #91E46A",
+"''3hcc0hhmpmmphhch40h0cc0006667|",
+"'''hhhhhhcppmmmmchchcc00c006c667",
+"'''|mhhpphpememmcmc,]67600000ee7",
+"'~~'phppppmmmcecchhl)..006600ccc",
+"''~~6cphpepemhcecch81(+.6606000c",
+"'''''cpcmphhhecichh(qn((.3466c6c",
+"~'''~epehmppmhmppmknsnnn(/4666ce",
+"'''''~mcdecimeeeem8qqsq86|6d66c|",
+"''~''~|cpimcppmoc98sqql46||06667",
+"~'''''~hcppcecmcelqnq8k666|00d|6",
+"t''~'~'hppiccpcchnsnng466|6cc666",
+"tt~''''|pppipcp0kn8n7dcc0606o6|3",
+"tt''~'~~mpmomeh00qk0666660|66||6",
+"ttt'''''omppe/,}j0ccccccc|c6|d64",
+"tttt~~''~mp>^}5l8:&b0ccmccc6|6||",
+"ttttti~''o!99^}(1(l>-ceccpeed7||",
+"utttttt'~&syyvyzzzzzj]],]>cee|||",
+"ttttttttb>1yvvyzyysvj#:::r*ecc66",
+"tttttttu#;jjqvjjjj18^#*]]:#e|d|6",
+"ttttttt*a#b981))j198(*:]::>0cc60",
+"ttttttt]a*.2s9^9}9b}.:a]r+ccce|6",
+"tttttt*::::+.#%++###:::ra0o|6c66",
+"ttttt#:]:::::*:#;*r::*rxae7e7e66",
+"tttt;:g[5][[a[;:[;b:;:wr*de7e7cc",
+"tttt=,)}=)f2))$i>jq11{rr.ututttt",
+"ttttt,@(%8k%f$)/)#,>%j<$uttttttt",
+"tttttttt(&')%%1d=%!&%1$rttuttttt",
+"ttttttttuttk(=~|1=%%=j+ttttttutt",
+"tttt____________)8=11 at x____ttttt",
+"tttt______________f]$______ttttu",
+"tttttttttttttuttuutttttttttttttt",
+"tttttttttttttttttttttttttttttttt"};
Added: atanks/trunk/debian/menu
===================================================================
--- atanks/trunk/debian/menu (rev 0)
+++ atanks/trunk/debian/menu 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,3 @@
+?package(atanks):needs="x11" section="Games/Arcade" \
+ title="Atomic Tanks" command="/usr/games/atanks" \
+ icon="/usr/share/pixmaps/atanks-icon.xpm"
Added: atanks/trunk/debian/patches/00list
===================================================================
--- atanks/trunk/debian/patches/00list (rev 0)
+++ atanks/trunk/debian/patches/00list 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1 @@
+01_debian-patch
Added: atanks/trunk/debian/patches/01_debian-patch.dpatch
===================================================================
--- atanks/trunk/debian/patches/01_debian-patch.dpatch (rev 0)
+++ atanks/trunk/debian/patches/01_debian-patch.dpatch 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,178 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_debian-patch.dpatch by <msp at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from atanks 1.1.0-6 diff.gz
+
+ at DPATCH@
+
+--- atanks-1.1.0.orig/src/atanks.cc
++++ atanks-1.1.0/src/atanks.cc
+@@ -191,7 +191,7 @@
+ }
+ }
+
+-int textEntryBox (GLOBALDATA *global, ENVIRONMENT *env, char modify, int x, int y, char *text, unsigned int textLength)
++int textEntryBox (GLOBALDATA *global, ENVIRONMENT *env, int modify, int x, int y, char *text, unsigned int textLength)
+ {
+ int ke = 0;
+ int fontWidth = text_length (font, "Z");
+@@ -2266,7 +2266,7 @@
+ }
+ }
+
+-int setSlideColumnDimensions (GLOBALDATA *global, ENVIRONMENT *env, int x, char reset)
++int setSlideColumnDimensions (GLOBALDATA *global, ENVIRONMENT *env, int x, bool reset)
+ {
+ int pixelHeight;
+ char *done = env->done;
+--- atanks-1.1.0.orig/src/beam.cc
++++ atanks-1.1.0/src/beam.cc
+@@ -167,7 +167,7 @@
+ if (targetX > ltank->x - TANKWIDTH - radius && targetX < ltank->x + TANKWIDTH + radius && targetY > ltank->y - radius && targetY < ltank->y + TANKHEIGHT + radius && ltank->l > 0) {
+ //hitSomething = 1;
+ ltank->requireUpdate ();
+- ltank->damage += damage * player->damageMultiplier;
++ ltank->damage += damage * (player ? player->damageMultiplier : 1.0);
+ ltank->creditTo = player;
+ if (destroy)
+ ltank->applyDamage ();
+--- atanks-1.1.0.orig/src/environment.cc
++++ atanks-1.1.0/src/environment.cc
+@@ -159,7 +159,7 @@
+ combineUpdates = TRUE;
+ }
+
+-char ENVIRONMENT::isItemAvailable (int itemNum)
++int ENVIRONMENT::isItemAvailable (int itemNum)
+ {
+ if (itemNum < WEAPONS) {
+ if ((weapon[itemNum].warhead) ||
+--- atanks-1.1.0.orig/src/explosion.cc
++++ atanks-1.1.0/src/explosion.cc
+@@ -159,7 +159,7 @@
+ }
+ if (distance <= (radius + TANKHEIGHT/2) && tank->l > 0) {
+ _global->updateMenu = 1;
+- tank->damage = (int) ((float) damage * ((float) 1 - ((fabs (distance) / (float)radius) / 2)) * player->damageMultiplier);
++ tank->damage = (int) ((float) damage * ((float) 1 - ((fabs (distance) / (float)radius) / 2)) * (player ? player->damageMultiplier : 1.0));
+
+ tank->creditTo = player;
+ tank->applyDamage ();
+--- atanks-1.1.0.orig/src/player.cc
++++ atanks-1.1.0/src/player.cc
+@@ -613,7 +613,7 @@
+ for (int count = 0; count < THINGS; count++) {
+ int currItem = selectRandomItem ();
+ int itemNum = currItem - WEAPONS;
+- char cumulative;
++ int cumulative;
+
+ //is item available for purchase or selected first item
+ //first item is free
+@@ -714,7 +714,7 @@
+ TANK *ltank;
+ int hitSomething = 0;
+ double distance;
+- char direction = (char)copysign (1, xv);
++ int direction = (int)copysign (1, xv);
+ double drag;
+ int ticks = 0;
+ int maxTicks = 500;
+@@ -1009,12 +1009,12 @@
+ if (weapNum >= RIOT_CHARGE && weapNum <= RIOT_BLAST) {
+ // add points only within range and above ctank
+ if ( (cy > ctank->y - (radius / 2)) ||
+- (abs (ctank->x - cx) > radius))
++ (fabs (ctank->x - cx) > radius))
+ continue;
+ } else if (weapNum >= SML_ROLLER && weapNum <= DTH_ROLLER) {
+ // Only aim rollers above other tanks
+ if (cy > tankY + TANKHEIGHT &&
+- abs (ctank->x - cx) > radius)
++ fabs (ctank->x - cx) > radius)
+ continue;
+ } else if (weapNum >= SML_LAZER && weapNum <= LRG_LAZER) {
+ // Lazer can only be aimed above horizontal
+@@ -1085,7 +1085,7 @@
+ if (itemNum >= ITEM_VENGEANCE && itemNum <= ITEM_FATAL_FURY) {
+ // add sqrt distances for each tank * potential damage
+ long int totalEffectiveDamage = calcTotalEffectiveDamage (itemNum);
+- _targetMatrix[(int)ctank->x] += sqrt (abs (ctank->x - ltank->x)) * totalEffectiveDamage;
++ _targetMatrix[(int)ctank->x] += sqrt (fabs (ctank->x - ltank->x)) * totalEffectiveDamage;
+
+ }
+ }
+--- atanks-1.1.0.orig/src/virtobj.cc
++++ atanks-1.1.0/src/virtobj.cc
+@@ -23,7 +23,7 @@
+
+ void VIRTUAL_OBJECT::update ()
+ {
+- char changed;
++ int changed;
+ if (!_requireUpdate)
+ return;
+
+--- atanks-1.1.0.orig/src/environment.h
++++ atanks-1.1.0/src/environment.h
+@@ -83,7 +83,7 @@
+ void initialise ();
+ void setGlobaldata (GLOBALDATA *global) {_global = global;};
+ void generateAvailableItemsList ();
+- char isItemAvailable (int itemNum);
++ int isItemAvailable (int itemNum);
+ int addObject (VIRTUAL_OBJECT *object);
+ int removeObject (VIRTUAL_OBJECT *object);
+ VIRTUAL_OBJECT *getNextOfClass (int classNum, int *index);
+--- atanks-1.1.0.orig/src/main.h
++++ atanks-1.1.0/src/main.h
+@@ -149,7 +149,7 @@
+ int picpoint;
+ int spread;
+ int delay; // volleys etc.
+- char noimpact;
++ int noimpact;
+ int techLevel;
+ char warhead; // Is it a warhead?
+ int numSubmunitions;// Number of submunitions
+@@ -177,7 +177,7 @@
+ char *description;
+ int cost;
+ int amt;
+- char selectable;
++ int selectable;
+ int techLevel;
+ int sound;
+ double vals[MAX_ITEMVALS];
+@@ -288,7 +288,7 @@
+ class GLOBALDATA;
+ class ENVIRONMENT;
+ int drawFracture (GLOBALDATA *global, ENVIRONMENT *env, BITMAP *dest, BOX *updateArea, int x, int y, int angle, int width, int segmentLength, int maxRecurse, int recurseDepth);
+-int setSlideColumnDimensions (GLOBALDATA *global, ENVIRONMENT *env, int x, char reset);
++int setSlideColumnDimensions (GLOBALDATA *global, ENVIRONMENT *env, int x, bool reset);
+ double Noise (int x);
+ double Noise2D (int x, int y);
+ double interpolate (double x1, double x2, double i);
+--- atanks-1.1.0.orig/src/menu.h
++++ atanks-1.1.0/src/menu.h
+@@ -36,7 +36,7 @@
+ double defaultv;
+ char **specialOpts;
+ char type;
+- char viewonly;
++ int viewonly;
+ int x;
+ int y;
+ } MENUENTRY;
+--- atanks-1.1.0.orig/src/Makefile
++++ atanks-1.1.0/src/Makefile
+@@ -4,7 +4,7 @@
+ globaldata.o environment.o player.o virtobj.o floattext.o teleport.o physobj.o decor.o explosion.o missile.o beam.o tank.o atanks.o fade.o perlin.o sky.o
+
+ CC = g++
+-FLAGS = -DLINUX -DVERSION=\"${VERSION}\" -DDATA_DIR=\".\"
++FLAGS = -DLINUX -DVERSION=\"${VERSION}\" -DDATA_DIR=\"/usr/share/games/atanks\"
+ OUTPUT = ../atanks
+ WFLAGS =
+ OFLAGS =
Property changes on: atanks/trunk/debian/patches/01_debian-patch.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: atanks/trunk/debian/rules
===================================================================
--- atanks/trunk/debian/rules (rev 0)
+++ atanks/trunk/debian/rules 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# This file is public domain software, originally written by Joey Hess.
+# $Id: rules 17 2004-04-17 20:55:32Z bob $
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O2
+ export CFLAGS
+endif
+
+build: build-stamp
+build-stamp: patch
+ dh_testdir
+
+ $(MAKE)
+
+ touch build-stamp
+
+clean: clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install
+ install -D -o root -g root -m 0644 $(CURDIR)/debian/icon.xpm $(CURDIR)/debian/atanks/usr/share/pixmaps/atanks-icon.xpm
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -i
+ dh_installchangelogs -i Changelog
+ dh_link -i
+ dh_strip -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs -a
+ dh_installchangelogs -a Changelog
+ dh_installmenu -a
+ dh_installman -a debian/atanks.6
+ dh_link -a
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+# And now the simple things for dpatch. Here we only apply/unapply the patches.
+# You can do more things with dpatch, like having patches only applied on
+# a special architecture - see the non-dh version of the sample for this!
+patch: patch-stamp
+patch-stamp:
+ dpatch apply-all
+ #dpatch call-all -a=pkg-info >patch-stamp
+ touch patch-stamp
+
+unpatch:
+ dpatch deapply-all
+ rm -rf patch-stamp debian/patched
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch clean1
Property changes on: atanks/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: atanks/trunk/debian/watch
===================================================================
--- atanks/trunk/debian/watch (rev 0)
+++ atanks/trunk/debian/watch 2006-09-12 22:07:36 UTC (rev 26)
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/atanks/atanks-([^-]*)\.tar\.(?:gz|bz2) debian svn-upgrade
More information about the Pkg-allegro-commits
mailing list