diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-10 08:24:41 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-10 08:24:41 +0000 |
commit | a9a474b96db869e5cc8cc0b249197b0d04dd27fd (patch) | |
tree | 78febe39012857c7ce3ba2cfbb58a3c8294be93b /testing | |
parent | 59cb0beb8bd1452bf8797f1060f3d6caaee62b48 (diff) | |
download | aports-a9a474b96db869e5cc8cc0b249197b0d04dd27fd.tar.bz2 aports-a9a474b96db869e5cc8cc0b249197b0d04dd27fd.tar.xz |
testing/podofo: moved from unmaintained, upgraded to 0.9.3
Diffstat (limited to 'testing')
-rw-r--r-- | testing/podofo/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/podofo/APKBUILD b/testing/podofo/APKBUILD new file mode 100644 index 0000000000..d355e45d73 --- /dev/null +++ b/testing/podofo/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=podofo +pkgver=0.9.3 +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" +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="268ca111826757ca7e3f5c4be3547e7a podofo-0.9.3.tar.gz" +sha256sums="ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 podofo-0.9.3.tar.gz" +sha512sums="c9a8076821502225d3ecf5a7e79ef2ebd7b9cc3e7d0902eabff33325b124109a1f5038f57b83e3fad0d82cff9cd557a9ed177adc7c176064085070aebcd7602d podofo-0.9.3.tar.gz" |