wok view pycairo/receipt @ rev 21840

updated remind (03.01.15 -> 03.01.16)
author Hans-G?nter Theisgen
date Sat Sep 14 16:43:37 2019 +0100 (2019-09-14)
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 }