2007-05-03 18:13:14 +02:00
|
|
|
{stdenv, fetchurl, SDL, zlib, mpeg2dec}:
|
2006-08-09 01:39:03 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-05-04 01:14:28 +02:00
|
|
|
name = "scummvm-1.1.1";
|
2007-05-03 17:24:13 +02:00
|
|
|
|
2006-08-09 01:39:03 +02:00
|
|
|
src = fetchurl {
|
2010-05-04 01:14:28 +02:00
|
|
|
url = mirror://sourceforge/scummvm/scummvm-1.1.1.tar.bz2;
|
|
|
|
sha256 = "0jlxwd8rzk4dn221v9w024w6f503am29hd8djzs1vz0bd72nbj4w";
|
2007-05-03 17:24:13 +02:00
|
|
|
};
|
|
|
|
|
2007-05-03 18:13:14 +02:00
|
|
|
buildInputs = [SDL zlib mpeg2dec];
|
2007-05-03 17:24:13 +02:00
|
|
|
|
2010-08-11 22:14:25 +02:00
|
|
|
crossAttrs = {
|
|
|
|
preConfigure = ''
|
|
|
|
# Remove the --build flag set by the gcc cross wrapper setup
|
|
|
|
# hook
|
|
|
|
export configureFlags="--host=${stdenv.cross.config}"
|
|
|
|
'';
|
|
|
|
postConfigure = ''
|
|
|
|
# They use 'install -s', that calls the native strip instead of the cross
|
|
|
|
sed -i 's/-c -s/-c/' ports.mk;
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2007-05-03 17:24:13 +02:00
|
|
|
meta = {
|
|
|
|
description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)";
|
|
|
|
homepage = http://www.scummvm.org/;
|
2006-08-09 01:39:03 +02:00
|
|
|
};
|
|
|
|
}
|