void-packages/srcpkgs/podofo/template
2021-01-25 22:33:50 +00:00

31 lines
886 B
Bash

# Template file for 'podofo'
pkgname=podofo
version=0.9.7
revision=1
build_style=cmake
configure_args="-DPODOFO_BUILD_SHARED=TRUE"
makedepends="fontconfig-devel libidn-devel libressl-devel lua53-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=7cf2e716daaef89647c54ffcd08940492fd40c385ef040ce7529396bfadc1eb8
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
}
}