wok view podofo/receipt @ rev 22772
updated fping (3.4 -> 4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 25 15:58:26 2020 +0100 (2020-01-25) |
parents | cd0c3ed3ab25 |
children | 4bae0fb81a17 |
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 libcrypto libpng
15 tiff zlib"
16 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \
17 libcrypto-dev libpng-dev tiff-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cmake . \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_BUILD_TYPE=RELEASE \
25 -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
26 -DPODOFO_HAVE_LUA=FALSE \
27 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
28 -DPODOFO_BUILD_SHARED:BOOL=TRUE &&
29 make -j1 &&
30 make -j1 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }