void-packages/srcpkgs/podofo/template
2019-01-18 21:49:23 +01:00

31 lines
884 B
Bash

# Template file for 'podofo'
pkgname=podofo
version=0.9.6
revision=3
build_style=cmake
configure_args="-DPODOFO_BUILD_SHARED=TRUE"
makedepends="fontconfig-devel libidn-devel libressl-devel lua-devel tiff-devel"
short_desc="Library to work with the PDF file format"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://podofo.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/podofo/podofo/${version}/podofo-${version}.tar.gz"
checksum=e9163650955ab8e4b9532e7aa43b841bac45701f7b0f9b793a98c8ca3ef14072
disable_parallel_build=yes
libpodofo_package() {
replaces="podofo<0.9.3_1"
short_desc+=" - shared library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libpodofo-devel_package() {
short_desc+=" - development files"
depends="libpodofo-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}