diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-28 18:58:49 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-28 18:58:49 +0000 |
commit | 497fc7bb94925f884a3ffd37f0660e2416be5d61 (patch) | |
tree | d4b6a4e4103051b1ace118f9732abb38c073078f /pkgs/games/btanks | |
parent | 3dcaa029ab5b2fa4d9740b401e5ca35d4c08d134 (diff) |
Making btanks work (and adding smpeg).
svn path=/nixpkgs/trunk/; revision=26585
Diffstat (limited to 'pkgs/games/btanks')
-rw-r--r-- | pkgs/games/btanks/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/games/btanks/default.nix b/pkgs/games/btanks/default.nix index 7172d4c81478e..085c7c4082cb5 100644 --- a/pkgs/games/btanks/default.nix +++ b/pkgs/games/btanks/default.nix @@ -1,6 +1,4 @@ -{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, zlib }: - -throw "Still does not build. It needs smpeg" +{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, zlib, smpeg, SDL_image, libvorbis, lua5, zip }: stdenv.mkDerivation rec { name = "battle-tanks-0.9.8083"; @@ -10,12 +8,15 @@ stdenv.mkDerivation rec { sha256 = "0ha35kxc8xlbg74wsrbapfgxvcrwy6psjkqi7c6adxs55dmcxliz"; }; - /* It still does not build */ - buildInputs = [ scons pkgconfig SDL mesa zlib ]; + buildInputs = [ scons pkgconfig SDL mesa zlib smpeg SDL_image libvorbis lua5 + zip ]; + + buildPhase = '' + scons prefix=$out + ''; installPhase = '' - scons PREFIX=$out - scons PREFIX=$out install + scons install ''; meta = { |