2008-06-10 17:09:53 +01:00
|
|
|
{stdenv, fetchurl, klibc, zlib, libjpeg}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-01-15 14:58:50 +00:00
|
|
|
name = "splashutils-1.5.4.3";
|
2008-06-10 17:09:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-01-17 13:08:04 +00:00
|
|
|
url = http://dev.gentoo.org/~spock/projects/splashutils/current/splashutils-1.5.4.3.tar.bz2;
|
2009-01-15 14:58:50 +00:00
|
|
|
sha256 = "0vn0ifqp9a3bmprzx2yr82hgq8m2y5xv8qcifs2plz6p3lidagpg";
|
2008-06-10 17:09:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [klibc zlib libjpeg];
|
|
|
|
|
|
|
|
configureFlags = "--without-ttf --without-png --without-gpm --with-themedir=/etc/splash";
|
|
|
|
|
|
|
|
preConfigure = ''
|
2008-06-14 16:09:22 +01:00
|
|
|
configureFlags="$configureFlags --with-essential-prefix=$out"
|
2008-06-10 17:09:53 +01: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";
|
|
|
|
};
|
|
|
|
}
|