wok view cairo/receipt @ rev 12714
Add: cross-x86_64-binutils
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat May 05 00:35:18 2012 +0200 (2012-05-05) |
parents | db228f6642b4 |
children | 22f5039b8926 |
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 \
15 pixman-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --with-html-dir=/usr/share/doc \
26 --enable-xcb \
27 --enable-tee \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }