wok-4.x view podofo/receipt @ rev 9904

edje: fix bdeps (again) (missing 2 how it was building before ?)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 13:44:00 2011 +0200 (2011-05-17)
parents f3327707164a
children e00bd32be155
line source
1 # SliTaz package receipt.
3 PACKAGE="podofo"
4 VERSION="0.7.0"
5 CATEGORY="office"
6 SHORT_DESC="PDF library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://podofo.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base"
12 BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \
19 -DPODOFO_BUILD_STATIC:BOOL=TRUE \
20 -DPODOFO_BUILD_SHARED:BOOL=TRUE . &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }