diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-01-19 09:55:31 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-01-19 09:55:31 +0100 |
commit | 716aac2519a7571e7f5fd984a886d579a4a051c5 (patch) | |
tree | 53cf89cf764d787f4dc8f08474479892b9733177 /pkgs/games/rili | |
parent | f8472457a440de3c44f6f604142d678b6ae2a762 (diff) | |
parent | 53b389327e34de319dc0dbda2b6bcab1a69db69d (diff) |
Merge branch 'staging' into closure-size
Diffstat (limited to 'pkgs/games/rili')
-rw-r--r-- | pkgs/games/rili/default.nix | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/games/rili/default.nix b/pkgs/games/rili/default.nix index a1ca93a828b42..e0e6de6b8efe9 100644 --- a/pkgs/games/rili/default.nix +++ b/pkgs/games/rili/default.nix @@ -1,8 +1,8 @@ -{stdenv, fetchurl, SDL_mixer, SDL, autoconf, automake}: +{ stdenv, fetchurl, SDL_mixer, SDL, autoreconfHook }: stdenv.mkDerivation { - name = "ri_li-2.0.1"; - + name = "ri_li-2.0.1"; + src = fetchurl { url = mirror://sourceforge/ri-li/Ri-li-2.0.1.tar.bz2; sha256 = "f71ccc20c37c601358d963e087ac0d524de8c68e96df09c3aac1ae65edd38dbd"; @@ -10,13 +10,10 @@ stdenv.mkDerivation { patches = [ ./moderinze_cpp.patch ]; - preConfigure = '' - export CPPFLAGS="-I${SDL.dev}/include -I${SDL.dev}/include/SDL -I${SDL_mixer}/include" - autoreconf -i - ''; - - buildInputs = [SDL SDL_mixer autoconf automake]; - + CPPFLAGS = "-I${SDL.dev}/include -I${SDL.dev}/include/SDL -I${SDL_mixer}/include"; + + buildInputs = [ SDL SDL_mixer autoreconfHook ]; + meta = { homepage = http://ri-li.sourceforge.net; license = stdenv.lib.licenses.gpl2Plus; |