31 lines
885 B
Bash
31 lines
885 B
Bash
# Template file for 'podofo'
|
|
pkgname=podofo
|
|
version=0.9.7
|
|
revision=2
|
|
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="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
|
|
}
|
|
}
|