nixpkgs/pkgs/os-specific/linux/splashutils/default.nix
Eelco Dolstra 8c4574571d * Build with fbsplash support, and put the control FIFO (which we
don't use yet, the daemon mode seems broken) in a more sensible
  place.

svn path=/nixpkgs/trunk/; revision=7139
2006-11-26 23:25:25 +00:00

23 lines
655 B
Nix

{stdenv, fetchurl, klibc, zlib, libjpeg}:
stdenv.mkDerivation {
name = "splashutils-1.3";
src = fetchurl {
url = http://dev.gentoo.org/~spock/projects/splashutils/archive/splashutils-1.3.tar.bz2;
md5 = "c7c92b98e34b860511aa57bd29d62f76";
};
patches = [./purity.patch ./no-fbsplash.patch];
buildInputs = [klibc zlib libjpeg];
inherit klibc;
dontAddPrefix = 1;
configureScript = "sh ./configure";
configureFlags = "--without-ttf --without-png --with-fifo=/var/run/splash_fifo";
makeFlags = "QUIET=false";
installPhase = "ensureDir $out/bin; cp objs/splash_helper objs/splash_util objs/splash_util.static $out/bin";
}