wok annotate cairo/receipt @ rev 14390

eet-dev: update deps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 07:02:34 2013 +0200 (2013-04-23)
parents ab4e237c956b
children 5286a067ac76
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="cairo"
slaxemulator@13171 4 VERSION="1.12.2"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="2D graphics library."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@13171 8 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
slaxemulator@13171 9 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
slaxemulator@13171 10 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
slaxemulator@13171 11 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
slaxemulator@13171 12 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev"
slaxemulator@13171 13 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@22 14 WEB_SITE="http://www.cairographics.org/"
pankso@22 15 WGET_URL="http://cairographics.org/releases/$TARBALL"
pankso@22 16
pankso@22 17 # Rules to configure and make the package.
pankso@22 18 compile_rules()
pankso@22 19 {
pankso@1999 20 cd $src
slaxemulator@9366 21 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
slaxemulator@13171 22 # https://bugs.freedesktop.org/show_bug.cgi?id=50852
slaxemulator@13171 23 patch -Np1 -i $stuff/cairo-1.12.2-reduce-broken-stopped-edge-continuation.patch
pankso@1999 24 ./configure \
pankso@1999 25 --prefix=/usr \
pankso@1999 26 --mandir=/usr/share/man \
pankso@1999 27 --with-html-dir=/usr/share/doc \
pankso@5336 28 --enable-xcb \
slaxemulator@9383 29 --enable-tee \
slaxemulator@6628 30 --disable-static \
pascal@2489 31 $CONFIGURE_ARGS &&
slaxemulator@13171 32 make $MAKEFLAGS &&
slaxemulator@13171 33 make DESTDIR=$DESTDIR install
pankso@22 34 }
pankso@22 35
pankso@22 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 37 genpkg_rules()
pankso@22 38 {
pankso@22 39 mkdir -p $fs/usr/lib
pankso@12549 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@22 41 }