wok-current annotate cairo/receipt @ rev 9383
Fix firefox. Added mesa-dev a build depends. Doesn't need mesa in depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 25 23:29:53 2011 +0000 (2011-03-25) |
parents | e665eaf1521b |
children | 8e4c74abdf74 |
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" |
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" |
slaxemulator@8965 | 10 BUILD_DEPENDS="pkg-config" |
pankso@22 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@22 | 12 WEB_SITE="http://www.cairographics.org/" |
pankso@22 | 13 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pankso@22 | 14 |
pankso@22 | 15 # Rules to configure and make the package. |
pankso@22 | 16 compile_rules() |
pankso@22 | 17 { |
pankso@1999 | 18 cd $src |
slaxemulator@9366 | 19 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch |
pankso@1999 | 20 ./configure \ |
pankso@1999 | 21 --prefix=/usr \ |
pankso@1999 | 22 --mandir=/usr/share/man \ |
pankso@1999 | 23 --with-html-dir=/usr/share/doc \ |
pankso@5336 | 24 --enable-xcb \ |
slaxemulator@9383 | 25 --enable-tee \ |
slaxemulator@6628 | 26 --disable-static \ |
pascal@2489 | 27 $CONFIGURE_ARGS && |
slaxemulator@6628 | 28 make -j 4 && |
pankso@1999 | 29 make DESTDIR=$PWD/_pkg install |
pankso@22 | 30 } |
pankso@22 | 31 |
pankso@22 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 33 genpkg_rules() |
pankso@22 | 34 { |
pankso@22 | 35 mkdir -p $fs/usr/lib |
pankso@22 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 37 } |