wok-6.x view pycairo/receipt @ rev 14616
Up xorg-libXxf86vm (1.1.3), xorg-libXfixes (5.0.1), xorg-libXcursor (1.1.14), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 01 15:31:43 2013 +0200 (2013-06-01) |
parents | 591275ef94d4 |
children | bf4a09ef1d2e |
line source
1 # SliTaz package receipt.
3 PACKAGE="pycairo"
4 VERSION="1.10.0"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the cairo graphics library."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
9 xorg-libXdmcp xorg-libXrender xcb-util"
10 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
11 SOURCE="py2cairo"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.cairographics.org/pycairo/"
14 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./waf configure --prefix=/usr &&
21 ./waf build &&
22 ./waf install --destdir=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
31 }