wok-6.x annotate cairo/receipt @ rev 15632
matchbox-window-manager-2: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 09 10:08:51 2013 +0000 (2013-12-09) |
parents | 5286a067ac76 |
children | 6d8a4be89f3d |
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" |
pascal@15022 | 8 LICENSE="MPL LGPL2.1" |
slaxemulator@13171 | 9 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \ |
slaxemulator@13171 | 10 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb" |
slaxemulator@13171 | 11 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \ |
slaxemulator@13171 | 12 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ |
pascal@15024 | 13 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev" |
slaxemulator@13171 | 14 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@22 | 15 WEB_SITE="http://www.cairographics.org/" |
pankso@22 | 16 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pankso@22 | 17 |
pankso@22 | 18 # Rules to configure and make the package. |
pankso@22 | 19 compile_rules() |
pankso@22 | 20 { |
pankso@1999 | 21 cd $src |
slaxemulator@9366 | 22 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch |
slaxemulator@13171 | 23 # https://bugs.freedesktop.org/show_bug.cgi?id=50852 |
slaxemulator@13171 | 24 patch -Np1 -i $stuff/cairo-1.12.2-reduce-broken-stopped-edge-continuation.patch |
pankso@1999 | 25 ./configure \ |
pankso@1999 | 26 --prefix=/usr \ |
pankso@1999 | 27 --mandir=/usr/share/man \ |
pankso@1999 | 28 --with-html-dir=/usr/share/doc \ |
pankso@5336 | 29 --enable-xcb \ |
slaxemulator@9383 | 30 --enable-tee \ |
slaxemulator@6628 | 31 --disable-static \ |
pascal@2489 | 32 $CONFIGURE_ARGS && |
slaxemulator@13171 | 33 make $MAKEFLAGS && |
slaxemulator@13171 | 34 make DESTDIR=$DESTDIR install |
pankso@22 | 35 } |
pankso@22 | 36 |
pankso@22 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 38 genpkg_rules() |
pankso@22 | 39 { |
pankso@22 | 40 mkdir -p $fs/usr/lib |
pankso@12549 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 42 } |