2016-02-13 22:49:25 +00:00
|
|
|
# Template file for 'podofo'
|
|
|
|
pkgname=podofo
|
2016-06-11 09:02:47 +00:00
|
|
|
version=0.9.4
|
2016-09-28 02:11:20 +00:00
|
|
|
revision=2
|
2016-02-04 00:40:31 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DPODOFO_BUILD_SHARED=1"
|
2016-02-13 22:49:25 +00:00
|
|
|
hostmakedepends="cmake"
|
|
|
|
makedepends="zlib-devel libressl-devel libidn-devel freetype-devel
|
|
|
|
fontconfig-devel libpng-devel libjpeg-turbo-devel lua52-devel tiff-devel"
|
2016-02-04 00:40:31 +00:00
|
|
|
short_desc="Library to work with the PDF file format"
|
2016-02-14 14:58:24 +00:00
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
2016-02-13 22:49:25 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2016-02-04 00:40:31 +00:00
|
|
|
homepage="http://podofo.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2016-06-11 09:02:47 +00:00
|
|
|
checksum=ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859
|
2016-02-13 22:49:25 +00:00
|
|
|
|
|
|
|
libpodofo_package() {
|
|
|
|
replaces="podofo<0.9.3_1"
|
|
|
|
short_desc+=" - shared library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
2016-02-04 00:40:31 +00:00
|
|
|
|
2016-02-13 22:49:25 +00:00
|
|
|
libpodofo-devel_package() {
|
2016-02-04 00:40:31 +00:00
|
|
|
short_desc+=" - development files"
|
2016-02-13 22:49:25 +00:00
|
|
|
depends="libpodofo-${version}_${revision}"
|
2016-02-04 00:40:31 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|