podofo: split libpodofo into its own subpkg

This commit is contained in:
Alessio Sergi 2016-02-13 23:49:25 +01:00
parent 019a5e8dde
commit 99fca710f4
5 changed files with 23 additions and 13 deletions

View file

@ -2340,7 +2340,7 @@ liblog4cxx.so.10 log4cxx-0.10.0_1
libsearpc.so.1 libsearpc-3.0.7_1
libccnet.so.0 ccnet-5.0.4_1
libseafile.so.0 seafile-libclient-5.0.4_1
libpodofo.so.0.9.3 podofo-0.9.3_1
libpodofo.so.0.9.3 libpodofo-0.9.3_1
libIrcUtil.so.3 libcommuni-3.4.0_1
libIrcCore.so.3 libcommuni-3.4.0_1
libIrcModel.so.3 libcommuni-3.4.0_1

1
srcpkgs/libpodofo Symbolic link
View file

@ -0,0 +1 @@
podofo

1
srcpkgs/libpodofo-devel Symbolic link
View file

@ -0,0 +1 @@
podofo

View file

@ -1 +0,0 @@
./podofo

View file

@ -1,21 +1,30 @@
pkgname="podofo"
version="0.9.3"
revision=1
# Template file for 'podofo'
pkgname=podofo
version=0.9.3
revision=2
build_style=cmake
configure_args="-DPODOFO_BUILD_SHARED=1"
hostmakedepends="cmake"
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="Luca - <luca.andrea.fuse@gmx.com>"
license="GPL-2"
maintainer="Luca <luca.andrea.fuse@gmx.com>"
license="GPL-2, LGPL-2.1"
homepage="http://podofo.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
hostmakedepends="cmake"
makedepends="freetype-devel fontconfig-devel zlib-devel libpng-devel libjpeg-turbo-devel lua52-devel tiff-devel"
checksum="ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8"
checksum=ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8
podofo-devel_package() {
license="LGPL-2"
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="podofo-${version}_${revision}"
depends="libpodofo-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so