2008-06-10 18:09:53 +02:00
|
|
|
{stdenv, fetchurl, klibc, zlib, libjpeg}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-08-15 14:05:20 +02:00
|
|
|
name = "splashutils-1.5.4.2";
|
2008-06-10 18:09:53 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-08-15 14:05:20 +02:00
|
|
|
url = http://download.berlios.de/fbsplash/splashutils-1.5.4.2.tar.bz2;
|
|
|
|
sha256 = "1d28p2wlmgm2cf2dbsxzmgma8gq9nwza43binp2hsscajjy5s9h5";
|
2008-06-10 18:09:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [klibc zlib libjpeg];
|
|
|
|
|
|
|
|
configureFlags = "--without-ttf --without-png --without-gpm --with-themedir=/etc/splash";
|
|
|
|
|
|
|
|
preConfigure = ''
|
2008-06-14 17:09:22 +02:00
|
|
|
configureFlags="$configureFlags --with-essential-prefix=$out"
|
2008-06-10 18:09:53 +02:00
|
|
|
substituteInPlace src/common.h \
|
|
|
|
--replace 'FBSPLASH_DIR"/sys"' '"/sys"' \
|
|
|
|
--replace 'FBSPLASH_DIR"/proc"' '"/proc"'
|
|
|
|
'';
|
|
|
|
|
|
|
|
CPP = "gcc -E";
|
|
|
|
CXXCPP = "g++ -E";
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
helperName = "sbin/fbcondecor_helper";
|
|
|
|
controlName = "sbin/fbcondecor_ctl";
|
|
|
|
helperProcFile = "/proc/sys/kernel/fbcondecor";
|
|
|
|
};
|
|
|
|
}
|