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";
|
|
|
|
};
|
2007-02-06 23:08:13 +01:00
|
|
|
patches = [
|
|
|
|
./purity.patch
|
|
|
|
./no-fbsplash.patch
|
|
|
|
# Borrowed from http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-gfx/splashutils/files/splashutils-1.3-fdset.patch?rev=1.1.
|
|
|
|
./fdset.patch
|
|
|
|
];
|
2006-11-26 00:41:53 +01:00
|
|
|
|
|
|
|
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-27 00:25:25 +01:00
|
|
|
configureFlags = "--without-ttf --without-png --with-fifo=/var/run/splash_fifo";
|
2006-11-25 01:28:15 +01:00
|
|
|
|
2006-11-26 00:41:53 +01:00
|
|
|
makeFlags = "QUIET=false";
|
|
|
|
|
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";
|
|
|
|
}
|