wok-next view pycairo/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | 16df76e1fc6a |
children | 05d4a6d977d4 |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.cairographics.org/pycairo/"
11 TARBALL="py2cairo-$VERSION.tar.bz2"
12 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
14 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
15 SPLIT="pycairo-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 case $PACKAGE in
29 pycairo)
30 copy @std
31 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
32 xorg-libXdmcp xorg-libXrender xcb-util"
33 ;;
34 *-dev) copy @dev;;
35 esac
36 }