void-packages/srcpkgs/podofo/template

32 lines
886 B
Bash

# Template file for 'podofo'
pkgname=podofo
version=0.9.7
revision=4
build_style=cmake
configure_args="-DPODOFO_BUILD_SHARED=TRUE"
makedepends="fontconfig-devel libidn-devel openssl-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="https://github.com/podofo/podofo"
distfiles="https://github.com/podofo/podofo/archive/refs/tags/${version}.tar.gz"
checksum=42d7eaa3c8ffabf001121447830343c4362e562d0f12192b033a393f334a64a6
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
}
}