wok-6.x view podofo/receipt @ rev 15837

Up: fuse to 2.9.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 27 04:24:04 2014 +0000 (2014-01-27)
parents e00bd32be155
children 9f7eed078218
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"
13 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \
20 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
21 -DPODOFO_BUILD_SHARED:BOOL=TRUE . &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }