wok-6.x view pycairo/receipt @ rev 17269
Add linux64-exofs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 24 10:25:36 2014 +0200 (2014-10-24) |
parents | f0f364ff2de0 |
children | 16df76e1fc6a |
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 LICENSE="MPL LGPL2.1"
9 SOURCE="py2cairo"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.cairographics.org/pycairo/"
12 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
14 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
15 xorg-libXdmcp xorg-libXrender xcb-util"
16 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./waf configure --prefix=/usr &&
23 ./waf build &&
24 ./waf install --destdir=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
33 }