wok-6.x view cairo/receipt @ rev 9092

Up: firefox to 3.6.15.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 04 13:36:54 2011 +0000 (2011-03-04)
parents 2d9d337dde69
children e665eaf1521b
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.10.0"
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 # this patch is used to fix incorrect renders with QT
21 patch -Np1 -i ../stuff/cairo-respect-fontconfig.patch
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --with-html-dir=/usr/share/doc \
26 --enable-xcb \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make -j 4 &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 }