Adding some skeleton for btanks. It needs smpeg still, to build.
svn path=/nixpkgs/trunk/; revision=26554
This commit is contained in:
parent
723fce8d57
commit
3df4a63ec2
26
pkgs/games/btanks/default.nix
Normal file
26
pkgs/games/btanks/default.nix
Normal file
|
@ -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+";
|
||||
};
|
||||
}
|
|
@ -7021,6 +7021,8 @@ let
|
|||
|
||||
bsdgames = callPackage ../games/bsdgames { };
|
||||
|
||||
btanks = callPackage ../games/btanks { };
|
||||
|
||||
bzflag = callPackage ../games/bzflag { };
|
||||
|
||||
castle_combat = callPackage ../games/castle-combat { };
|
||||
|
|
Loading…
Reference in a new issue