summaryrefslogtreecommitdiffstats
path: root/pkgs/games/btanks
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-27 21:18:05 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-27 21:18:05 +0000
commit3df4a63ec23b9c0113e3b6ed9270cd3ccfe3e876 (patch)
tree6807155fabb5dd95578dd8f275d8ab91c530bb73 /pkgs/games/btanks
parent723fce8d578751acb15188416eb8abb639a1e586 (diff)
Adding some skeleton for btanks. It needs smpeg still, to build.
svn path=/nixpkgs/trunk/; revision=26554
Diffstat (limited to 'pkgs/games/btanks')
-rw-r--r--pkgs/games/btanks/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/games/btanks/default.nix b/pkgs/games/btanks/default.nix
new file mode 100644
index 000000000000..dbd70b035517
--- /dev/null
+++ b/pkgs/games/btanks/default.nix
@@ -0,0 +1,26 @@
+{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, zlib }:
+
+throw "Still does not build. It needs smpeg"
+
+stdenv.mkDerivation rec {
+ name = "battle-tanks-0.9.8083";
+
+ src = fetchurl {
+ url = mirror://sourceforge/btanks/btanks-0.9.8083.tar.bz2;
+ sha256 = "0ha35kxc8xlbg74wsrbapfgxvcrwy6psjkqi7c6adxs55dmcxliz";
+ };
+
+ /* It still does not build */
+ buildInputs = [ scons pkgconfig SDL mesa zlib ];
+
+ installPhase = ''
+ scons PREFIX=$out
+ scons PREFIX=$out install
+ '';
+
+ meta = {
+ homepage = http://trackballs.sourceforge.net/;
+ description = "Fast 2d tank arcade game";
+ license = "GPLv2+";
+ };
+}