wok-next view cairo/receipt @ rev 9379

Up: tazpkg 4.2.6
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 25 18:24:41 2011 +0100 (2011-03-25)
parents 254cdebd32d5
children 505eee76b73b
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 --disable-static \
26 $CONFIGURE_ARGS &&
27 make -j 4 &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }