wok-next view cairo/receipt @ rev 15991

Up: prosody (0.9.3)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 14:10:27 2014 +0100 (2014-03-02)
parents 5286a067ac76
children 6d8a4be89f3d
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 LICENSE="MPL LGPL2.1"
9 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
10 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
11 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
12 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
13 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.xz"
15 WEB_SITE="http://www.cairographics.org/"
16 WGET_URL="http://cairographics.org/releases/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
23 # https://bugs.freedesktop.org/show_bug.cgi?id=50852
24 patch -Np1 -i $stuff/cairo-1.12.2-reduce-broken-stopped-edge-continuation.patch
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 --with-html-dir=/usr/share/doc \
29 --enable-xcb \
30 --enable-tee \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }