wok annotate cairo/receipt @ rev 6753
Up: transmission to 2.11.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 17 18:18:20 2010 +0000 (2010-10-17) |
parents | d5efaa09404c |
children | 254cdebd32d5 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
slaxemulator@6628 | 4 VERSION="1.10.0" |
pankso@22 | 5 CATEGORY="x-window" |
pankso@22 | 6 SHORT_DESC="2D graphics library." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2489 | 8 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \ |
pankso@5336 | 9 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb" |
pankso@5336 | 10 BUILD_DEPENDS="$DEPENDS pkg-config pixman-dev libpng-dev zlib-dev \ |
slaxemulator@6295 | 11 fontconfig-dev xcb-util-dev libxcb-dev xorg-dev freetype-dev expat-dev" |
pankso@22 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@22 | 13 WEB_SITE="http://www.cairographics.org/" |
pankso@22 | 14 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pankso@22 | 15 |
pankso@22 | 16 # Rules to configure and make the package. |
pankso@22 | 17 compile_rules() |
pankso@22 | 18 { |
pankso@1999 | 19 cd $src |
slaxemulator@6628 | 20 patch -Np1 -i ../stuff/cairo-1.10.0-buggy_gradients.patch |
slaxemulator@6628 | 21 # this patch is used to fix incorrect renders with QT |
slaxemulator@6628 | 22 patch -Np1 -i ../stuff/cairo-respect-fontconfig.patch |
pankso@1999 | 23 ./configure \ |
pankso@1999 | 24 --prefix=/usr \ |
pankso@1999 | 25 --mandir=/usr/share/man \ |
pankso@1999 | 26 --with-html-dir=/usr/share/doc \ |
pankso@5336 | 27 --enable-xcb \ |
slaxemulator@6628 | 28 --disable-static \ |
pascal@2489 | 29 $CONFIGURE_ARGS && |
slaxemulator@6628 | 30 make -j 4 && |
pankso@1999 | 31 make DESTDIR=$PWD/_pkg install |
pankso@22 | 32 } |
pankso@22 | 33 |
pankso@22 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 35 genpkg_rules() |
pankso@22 | 36 { |
pankso@22 | 37 mkdir -p $fs/usr/lib |
pankso@22 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 39 } |