2010-01-07 23:47:30 +01:00
|
|
|
{stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig,
|
2010-09-15 20:37:38 +02:00
|
|
|
openssl, libpng, lua5}:
|
2010-01-07 23:47:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-09-15 20:37:38 +02:00
|
|
|
name = "podofo-0.8.2";
|
2010-01-07 23:47:30 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/podofo/${name}.tar.gz";
|
2010-09-15 20:37:38 +02:00
|
|
|
sha256 = "064cgrvjvy57n5i25d4j7yx5wd3wgkdks448bzc3a8nsmyl08skq";
|
2010-01-07 23:47:30 +01:00
|
|
|
};
|
2010-09-16 10:40:47 +02:00
|
|
|
propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng ];
|
|
|
|
buildInputs = [ cmake lua5 stdenv.gcc.libc ];
|
2010-01-07 23:47:30 +01:00
|
|
|
cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF";
|
2010-09-15 20:37:38 +02: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 23:47:30 +01:00
|
|
|
}
|