void-packages/srcpkgs/libpodofo0.9.7/template

28 lines
917 B
Bash
Raw Normal View History

2023-12-13 17:24:31 +01:00
# Template file for 'libpodofo0.9.7'
pkgname=libpodofo0.9.7
version=0.9.7
revision=2
2023-12-13 17:24:31 +01:00
build_style=cmake
configure_args="-DPODOFO_BUILD_SHARED=TRUE -DPODOFO_BUILD_LIB_ONLY=TRUE"
hostmakedepends="pkg-config"
2023-12-13 17:24:31 +01:00
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="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
replaces="libpodofo<=${version}_999"
libpodofo0.9.7-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
conflicts="libpodofo-devel>=0"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2023-12-13 17:24:31 +01:00
vmove usr/lib/*.so
}
}