wok-current view podofo/receipt @ rev 22240

updated xorg-presentproto (1.0 -> 1.1)
author Hans-G?nter Theisgen
date Tue Nov 12 09:16:26 2019 +0100 (2019-11-12)
parents 36df580eeec3
children cd0c3ed3ab25
line source
1 # SliTaz package receipt.
3 PACKAGE="podofo"
4 VERSION="0.9.6"
5 CATEGORY="office"
6 SHORT_DESC="PDF library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/podofo/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="fontconfig freetype gcc-lib-base jpeg libpng tiff zlib"
15 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \
16 libpng-dev tiff-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cmake . \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=RELEASE \
24 -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
25 -DPODOFO_HAVE_LUA=FALSE \
26 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
27 -DPODOFO_BUILD_SHARED:BOOL=TRUE &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }