31 lines
889 B
Bash
31 lines
889 B
Bash
# Template file for 'podofo'
|
|
pkgname=podofo
|
|
version=0.9.5
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DPODOFO_BUILD_SHARED=1"
|
|
makedepends="zlib-devel libressl-devel libidn-devel freetype-devel
|
|
fontconfig-devel libpng-devel libjpeg-turbo-devel lua52-devel tiff-devel"
|
|
short_desc="Library to work with the PDF file format"
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://podofo.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=854981cb897ebc14bac854ea0f25305372261a48a205363fe1c61659ba7b5304
|
|
|
|
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
|
|
}
|
|
}
|