wok-6.x annotate cairo/receipt @ rev 12861
Up: sqlite to 3.7.12.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 24 20:50:37 2012 +0000 (2012-05-24) |
parents | db228f6642b4 |
children | 22f5039b8926 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
slaxemulator@9366 | 4 VERSION="1.10.2" |
pankso@22 | 5 CATEGORY="x-window" |
pankso@22 | 6 SHORT_DESC="2D graphics library." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@22 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@22 | 9 WEB_SITE="http://www.cairographics.org/" |
pankso@22 | 10 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pankso@22 | 11 |
pankso@12549 | 12 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \ |
pankso@12549 | 13 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb" |
pankso@12550 | 14 BUILD_DEPENDS="pkg-config expat-dev libpng-dev libgio-dev glib-dev libxcb-dev \ |
pankso@12550 | 15 pixman-dev" |
pankso@12549 | 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 |
pankso@1999 | 22 ./configure \ |
pankso@1999 | 23 --prefix=/usr \ |
pankso@1999 | 24 --mandir=/usr/share/man \ |
pankso@1999 | 25 --with-html-dir=/usr/share/doc \ |
pankso@5336 | 26 --enable-xcb \ |
slaxemulator@9383 | 27 --enable-tee \ |
slaxemulator@6628 | 28 --disable-static \ |
pascal@2489 | 29 $CONFIGURE_ARGS && |
pankso@12549 | 30 make $MAKEFLAGS && make install |
pankso@22 | 31 } |
pankso@22 | 32 |
pankso@22 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 34 genpkg_rules() |
pankso@22 | 35 { |
pankso@22 | 36 mkdir -p $fs/usr/lib |
pankso@12549 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 38 } |