wok-current view cairo/receipt @ rev 12549
cairo: update bdeps
| author | Christophe Lincoln <pankso@slitaz.org> | 
|---|---|
| date | Fri Apr 27 15:34:15 2012 +0200 (2012-04-27) | 
| parents | 8e4c74abdf74 | 
| children | ab4e237c956b | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="cairo"
     4 VERSION="1.10.2"
     5 CATEGORY="x-window"
     6 SHORT_DESC="2D graphics library."
     7 MAINTAINER="pankso@slitaz.org"
     8 TARBALL="$PACKAGE-$VERSION.tar.gz"
     9 WEB_SITE="http://www.cairographics.org/"
    10 WGET_URL="http://cairographics.org/releases/$TARBALL"
    12 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
    13 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
    14 BUILD_DEPENDS="pkg-config expat-dev libpng-dev libgio-dev glib-dev libxcb-dev"
    16 # Rules to configure and make the package.
    17 compile_rules()
    18 {
    19 	cd $src
    20 	patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
    21 	./configure \
    22 		--prefix=/usr \
    23  		--mandir=/usr/share/man \
    24 		--with-html-dir=/usr/share/doc \
    25 		--enable-xcb \
    26 		--enable-tee \
    27 		--disable-static \
    28  		$CONFIGURE_ARGS &&
    29 	make $MAKEFLAGS && make install
    30 }
    32 # Rules to gen a SliTaz package suitable for Tazpkg.
    33 genpkg_rules()
    34 {
    35 	mkdir -p $fs/usr/lib
    36 	cp -a $install/usr/lib/*.so* $fs/usr/lib
    37 }