wok-current view cairo/receipt @ rev 10672
iptables: user $kvers
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 10:26:04 2011 +0200 (2011-05-27) |
parents | e665eaf1521b |
children | 8e4c74abdf74 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.10.2"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
10 BUILD_DEPENDS="pkg-config"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cairographics.org/"
13 WGET_URL="http://cairographics.org/releases/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc \
24 --enable-xcb \
25 --enable-tee \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make -j 4 &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 }