diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-01-22 13:48:35 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-01-22 13:48:35 +0100 |
commit | 0957359568389f4abca5d4176749cac736e7fe6f (patch) | |
tree | 1c8d664ae5405cb2859a2e679e402dca0e597b5b /pkgs/games | |
parent | 542bf5bf4187ec13d83d9aea64212b1dbb5a1bd9 (diff) | |
parent | 3317eef08420a1561fc42cd97d28fc3eca8c15d7 (diff) |
Merge branch 'staging'
Diffstat (limited to 'pkgs/games')
-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 fbf47653af99b..7d12733284537 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}/include -I${SDL}/include/SDL -I${SDL_mixer}/include" - autoreconf -i - ''; - - buildInputs = [SDL SDL_mixer autoconf automake]; - + CPPFLAGS = "-I${SDL}/include -I${SDL}/include/SDL -I${SDL_mixer}/include"; + + buildInputs = [ SDL SDL_mixer autoreconfHook ]; + meta = { homepage = http://ri-li.sourceforge.net; license = stdenv.lib.licenses.gpl2Plus; |