wok-stable view podofo/receipt @ rev 9733

libpostgresqlclient: We are using wanted_stuff. postgresql doesn't copy to $src folder anymore.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 12:46:19 2011 +0000 (2011-05-09)
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 }