wok-6.x view pycairo/receipt @ rev 22213
updated xorg-libXext and xorg-libXext-dev (1.3.2 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 15:56:09 2019 +0100 (2019-11-11) |
parents | 16df76e1fc6a |
children | feb4dddd17bc |
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="https://www.cairographics.org/pycairo/"
12 WGET_URL="https://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 ./waf configure --prefix=/usr &&
22 ./waf build &&
23 ./waf install --destdir=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
32 }