From 9c6e16bb228787c35137e4a5576a5085a9788a10 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 20 Jun 2011 12:00:47 +0000 Subject: testing/chmlib podofo py-dateutils py-importlib py-pycountry py-qt py-sip : new aports --- testing/podofo/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/podofo/APKBUILD (limited to 'testing/podofo') diff --git a/testing/podofo/APKBUILD b/testing/podofo/APKBUILD new file mode 100644 index 000000000..1b413ebf1 --- /dev/null +++ b/testing/podofo/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Francesco Colista +# Maintainer: +pkgname=podofo +pkgver=0.9.1 +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="tiff-dev libpng-dev fontconfig-dev cmake" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +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="cec586ab69f92bc88d38b5d4b8eee5a0 podofo-0.9.1.tar.gz" -- cgit v1.2.3