2006-11-26 00:41:53 +01:00
|
|
|
{stdenv, fetchurl, klibc, zlib, libjpeg}:
|
2006-11-25 01:28:15 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "splashutils-1.3";
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://dev.gentoo.org/~spock/projects/splashutils/archive/splashutils-1.3.tar.bz2;
|
|
|
|
md5 = "c7c92b98e34b860511aa57bd29d62f76";
|
|
|
|
};
|
2006-11-26 00:41:53 +01:00
|
|
|
patches = [./purity.patch ./no-fbsplash.patch];
|
|
|
|
|
|
|
|
buildInputs = [klibc zlib libjpeg];
|
|
|
|
|
|
|
|
inherit klibc;
|
2006-11-25 01:28:15 +01:00
|
|
|
|
|
|
|
dontAddPrefix = 1;
|
2006-11-25 01:40:09 +01:00
|
|
|
configureScript = "sh ./configure";
|
2006-11-25 01:28:15 +01:00
|
|
|
configureFlags = "--without-ttf --without-png --without-fbsplash";
|
|
|
|
|
2006-11-26 00:41:53 +01:00
|
|
|
makeFlags = "QUIET=false";
|
|
|
|
|
|
|
|
#NIX_CFLAGS_COMPILE = "-Iobjs/jpeglib -Ilibs/jpeg-6b -Ilibs/freetype-2.1.9/include -Ilibs/libpng-1.2.8 -Ilibs/zlib-1.2.3";
|
|
|
|
#NIX_CFLAGS_LINK = "-Lobjs/jpeglib -Lobjs/freetype2/.libs -Llibs/zlib-1.2.3 -Llibs/libpng-1.2.8";
|
2006-11-25 01:28:15 +01:00
|
|
|
|
|
|
|
installPhase = "ensureDir $out/bin; cp objs/splash_helper objs/splash_util objs/splash_util.static $out/bin";
|
|
|
|
}
|