wok-next view cairo/receipt @ rev 13782
Up tazpkg (5.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 04 17:20:57 2013 +0100 (2013-01-04) |
parents | ab4e237c956b |
children | 5286a067ac76 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.12.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 glib-dev libpng-dev zlib-dev fontconfig-dev \
11 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
12 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WEB_SITE="http://www.cairographics.org/"
15 WGET_URL="http://cairographics.org/releases/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
22 # https://bugs.freedesktop.org/show_bug.cgi?id=50852
23 patch -Np1 -i $stuff/cairo-1.12.2-reduce-broken-stopped-edge-continuation.patch
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 --with-html-dir=/usr/share/doc \
28 --enable-xcb \
29 --enable-tee \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }