# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=podofo pkgver=0.9.4 pkgrel=0 pkgdesc="A C++ library to work with the PDF file format" url="http://podofo.sourceforge.net" arch="all" license="GPL" depends= depends_dev="" makedepends="$depends_dev tiff-dev libpng-dev fontconfig-dev cmake lua-dev openssl-dev libidn-dev" install="" subpackages="$pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ -DPODOFO_BUILD_SHARED=1 \ -DPODOFO_HAVE_JPEG_LIB=1 \ -DPODOFO_HAVE_PNG_LIB=1 \ -DPODOFO_HAVE_TIFF_LIB=1 make || return 1 } package() { cd "$_builddir"/build make DESTDIR="$pkgdir" install || return 1 } md5sums="929c9d2bd367fb6cb1f178cd4eb93dd3 podofo-0.9.4.tar.gz" sha256sums="ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 podofo-0.9.4.tar.gz" sha512sums="2f675757d76ccfe2472358b04dc4cd55e2cf00ae447731af75645c7091a338b6d91dcd4b16240b305cdbb02384ddcd38048c0e3f1700185347d4e1eb5df9ee39 podofo-0.9.4.tar.gz"