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

Add util-linux-ng-setterm (thanks Gawron)
author Paul Issott <paul@slitaz.org>
date Sun Jan 09 13:38:52 2011 +0000 (2011-01-09)
parents b61a8e9b1027
children 1364c20799ac
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_SHARED:BOOL=TRUE . &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }