wok-4.x view cairo/receipt @ rev 2038
Up: cairo (1.8.6)
author | Fabrice THIROUX <mimas@slitaz.org> |
---|---|
date | Tue Jan 13 18:49:19 2009 +0100 (2009-01-13) |
parents | 392b86e73228 |
children | ccbbfa2e41c7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.8.6"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib pixman libpng zlib"
9 BUILD_DEPENDS="pkg-config pixman-dev libpng-dev zlib-dev fontconfig-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cairographics.org/"
12 WGET_URL="http://cairographics.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }