wok-next view podofo/receipt @ rev 20786
gnupg: remove spaces (aka: should build now, since newest libgpg-error available now, which has the GPGRT_LOGLVL_INFO
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 07:09:31 2018 +0000 (2018-06-09) |
parents | dd145c435e4b |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://podofo.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \
15 libpng16-dev"
16 SPLIT="podofo-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=RELEASE \
24 -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \
25 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
26 -DPODOFO_BUILD_SHARED:BOOL=TRUE \
27 .. &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 podofo)
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng16"
39 ;;
40 *-dev)
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/include $fs/usr
43 cp -a $install/usr/lib/*a $fs/usr/lib
44 ;;
45 esac
46 }