wok view podofo/receipt @ rev 23148
updated lvm2 and lvm2-dev (2.02.183 -> 2.03.08)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 10:14:44 2020 +0100 (2020-03-15) |
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 }