wok-current annotate cairo/receipt @ rev 5336
Up: cairo (1.8.10) --enable-xcb by default
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 25 22:41:49 2010 +0200 (2010-04-25) |
parents | 9b4277ee26ca |
children | d5efaa09404c |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
pankso@5336 | 4 VERSION="1.8.10" |
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 \ |
pankso@5336 | 11 fontconfig-dev xcb-util-dev libxcb-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 |
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 \ |
pascal@2489 | 25 $CONFIGURE_ARGS && |
pascal@2489 | 26 make && |
pankso@1999 | 27 make DESTDIR=$PWD/_pkg install |
pankso@22 | 28 } |
pankso@22 | 29 |
pankso@22 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 31 genpkg_rules() |
pankso@22 | 32 { |
pankso@22 | 33 mkdir -p $fs/usr/lib |
pankso@22 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 35 } |