wok view podofo/receipt @ rev 20095
slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 05 23:51:00 2017 +0300 (2017-10-05) |
parents | 63cbc306c335 |
children | 71d5f5cce188 |
line source
1 # SliTaz package receipt.
3 PACKAGE="podofo"
4 VERSION="0.9.1"
5 CATEGORY="office"
6 SHORT_DESC="PDF library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://podofo.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng"
13 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \
14 libpng-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \
20 -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
21 -DPODOFO_HAVE_LUA=FALSE \
22 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
23 -DPODOFO_BUILD_SHARED:BOOL=TRUE . &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }