at v192 30 lines 902 B view raw
1{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib }: 2 3stdenv.mkDerivation rec { 4 name = "scummvm-1.7.0"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/scummvm/${name}.tar.bz2"; 8 sha256 = "d9ff0e8cf911afa466d5456d28fef692a17d47ddecfd428bf2fef591237c2e66"; 9 }; 10 11 buildInputs = [ SDL zlib libmpeg2 libmad libogg libvorbis flac alsaLib ]; 12 13 crossAttrs = { 14 preConfigure = '' 15 # Remove the --build flag set by the gcc cross wrapper setup 16 # hook 17 export configureFlags="--host=${stdenv.cross.config}" 18 ''; 19 postConfigure = '' 20 # They use 'install -s', that calls the native strip instead of the cross 21 sed -i 's/-c -s/-c/' ports.mk; 22 ''; 23 }; 24 25 meta = { 26 description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)"; 27 homepage = http://www.scummvm.org/; 28 }; 29} 30