wok-current view podofo/receipt @ rev 22371
updated kivy (1.4.1 -> 1.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 26 17:37:07 2019 +0100 (2019-11-26) |
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 }