2010-04-14 21:27:15 +02:00
|
|
|
{stdenv, fetchurl, cups, zlib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "splix-2.0.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/splix/${name}.tar.bz2";
|
|
|
|
sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
|
|
|
|
};
|
|
|
|
|
2010-12-28 19:47:41 +01:00
|
|
|
patches = [ ./splix-2.0.0-gcc45.patch ];
|
|
|
|
|
2010-04-14 21:27:15 +02:00
|
|
|
preBuild=''
|
|
|
|
makeFlags="V=1 DISABLE_JBIG=1 CUPSFILTER=$out/lib/cups/filter CUPSPPD=$out/share/cups/model"
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [cups zlib];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://splix.sourceforge.net;
|
2011-09-20 22:25:26 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2010-04-14 21:27:15 +02:00
|
|
|
};
|
|
|
|
}
|