wok-6.x view cairo/receipt @ rev 11950

cyrus-imapd: use MD5 password
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 15:11:45 2012 +0100 (2012-03-01)
parents 505eee76b73b
children db228f6642b4
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 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
9 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
10 BUILD_DEPENDS="pkg-config"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cairographics.org/"
13 WGET_URL="http://cairographics.org/releases/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/cairo-1.10.0-buggy_gradients.patch
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc \
24 --enable-xcb \
25 --enable-tee \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/lib/*.so* $fs/usr/lib
37 }