2010-01-07 22:47:30 +00:00
|
|
|
{stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig,
|
2010-09-15 19:37:38 +01:00
|
|
|
openssl, libpng, lua5}:
|
2010-01-07 22:47:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-07-10 17:15:41 +01:00
|
|
|
name = "podofo-0.9.1";
|
2010-01-07 22:47:30 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/podofo/${name}.tar.gz";
|
2011-07-10 17:15:41 +01:00
|
|
|
sha256 = "0icpxh1l1dpviq2zwy764dhg8y03zwyf4pgw4s7kb165nvh9v5kv";
|
2010-01-07 22:47:30 +00:00
|
|
|
};
|
2010-09-16 09:40:47 +01:00
|
|
|
propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng ];
|
|
|
|
buildInputs = [ cmake lua5 stdenv.gcc.libc ];
|
2010-01-07 22:47:30 +00:00
|
|
|
cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF";
|
2010-09-15 19:37:38 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://podofo.sourceforge.net;
|
|
|
|
description = "A library to work with the PDF file format";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
2010-01-07 22:47:30 +00:00
|
|
|
}
|