wok-next annotate cairo/receipt @ rev 2754
cairo: update depends/build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 16:06:22 2009 +0200 (2009-04-26) |
parents | 2ffc23325930 |
children | 3a4d65af326e |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
pankso@2039 | 4 VERSION="1.8.4" |
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 \ |
pascal@2754 | 9 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util" |
pascal@2754 | 10 BUILD_DEPENDS="pkg-config pixman-dev libpng-dev zlib-dev fontconfig-dev xcb-util" |
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 |
pankso@1999 | 19 ./configure \ |
pankso@1999 | 20 --prefix=/usr \ |
pankso@1999 | 21 --mandir=/usr/share/man \ |
pankso@1999 | 22 --with-html-dir=/usr/share/doc \ |
mallory@2690 | 23 --enable-xcb \ |
pascal@2489 | 24 $CONFIGURE_ARGS && |
pascal@2489 | 25 make && |
pankso@1999 | 26 make DESTDIR=$PWD/_pkg install |
pankso@22 | 27 } |
pankso@22 | 28 |
pankso@22 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 30 genpkg_rules() |
pankso@22 | 31 { |
pankso@22 | 32 mkdir -p $fs/usr/lib |
pankso@22 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 34 } |