wok-next diff cairo-xcb/receipt @ rev 2758

Add cairo-xcb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 21:12:53 2009 +0200 (2009-04-26)
parents
children 5444cac7c407
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cairo-xcb/receipt	Sun Apr 26 21:12:53 2009 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cairo-xcb"
     1.7 +VERSION="1.8.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="2D graphics library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
    1.12 +xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util"
    1.13 +BUILD_DEPENDS="pkg-config pixman-dev libpng-dev zlib-dev fontconfig-dev xcb-util"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.cairographics.org/"
    1.16 +WGET_URL="http://cairographics.org/releases/$TARBALL"
    1.17 +PROVIDE="cairo"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 + 		--mandir=/usr/share/man \
    1.26 +		--with-html-dir=/usr/share/doc \
    1.27 +		--enable-xcb \
    1.28 + 		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.38 +}