wok-current view cairo/receipt @ rev 6503
Up: python-weberror to 0.10.2
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Fri Oct 01 20:59:43 2010 +0000 (2010-10-01) |
parents | 9bad6e3f4f76 |
children | 2d9d337dde69 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.8.10"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
10 BUILD_DEPENDS="$DEPENDS pkg-config pixman-dev libpng-dev zlib-dev \
11 fontconfig-dev xcb-util-dev libxcb-dev xorg-dev freetype-dev expat-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.cairographics.org/"
14 WGET_URL="http://cairographics.org/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc \
24 --enable-xcb \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }