wok view cairo-xcb/receipt @ rev 4230

Fix: patch xfe to build with gcc-4.x
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 15:03:32 2009 +0200 (2009-09-24)
parents 3a4d65af326e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-xcb"
4 VERSION="1.8.4"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="cairo"
9 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
10 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util"
11 BUILD_DEPENDS="pkg-config pixman-dev libpng-dev zlib-dev fontconfig-dev xcb-util"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.cairographics.org/"
14 WGET_URL="http://cairographics.org/releases/$TARBALL"
15 PROVIDE="cairo"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --with-html-dir=/usr/share/doc \
25 --enable-xcb \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 }