wok view cairo/receipt @ rev 7115
Up: web-applications to 1.3. Removed freehg and replaced it with bitbucket. Freehg is dead btw before slitaz 3.0 it looks like.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 04 03:25:11 2010 +0000 (2010-11-04) |
parents | d5efaa09404c |
children | 254cdebd32d5 |
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="$DEPENDS pkg-config pixman-dev libpng-dev zlib-dev \
11 fontconfig-dev xcb-util-dev libxcb-dev xorg-dev freetype-dev expat-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.cairographics.org/"
14 WGET_URL="http://cairographics.org/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i ../stuff/cairo-1.10.0-buggy_gradients.patch
21 # this patch is used to fix incorrect renders with QT
22 patch -Np1 -i ../stuff/cairo-respect-fontconfig.patch
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 --with-html-dir=/usr/share/doc \
27 --enable-xcb \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make -j 4 &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 }