wok-6.x view podofo/receipt @ rev 9776
vanessa_logger: fix genpkg_rules for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 22:44:41 2011 +0200 (2011-05-11) |
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 }