nixpkgs/pkgs/misc/cups/drivers/splix/default.nix
Yury G. Kudryashov 35fe5dadb1 splix-2.0.0: fix compilation with gcc-4.5
svn path=/nixpkgs/branches/stdenv-updates/; revision=25312
2010-12-28 18:47:41 +00:00

23 lines
489 B
Nix

{stdenv, fetchurl, cups, zlib}:
stdenv.mkDerivation rec {
name = "splix-2.0.0";
src = fetchurl {
url = "mirror://sourceforge/splix/${name}.tar.bz2";
sha256 = "0bwivrwwvh6hzvnycpzqs7a0capgycahc4s3v9ihx552fgy07xwp";
};
patches = [ ./splix-2.0.0-gcc45.patch ];
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;
};
}