wok-next view pycairo/receipt @ rev 19993

Up qtwebkit (5.212.0-alpha2)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 15:29:03 2017 +0200 (2017-10-20)
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 }