wok-current view pycairo/receipt @ rev 23728

updated vzquota (3.0.12 -> 3.1)
author Hans-G?nter Theisgen
date Fri May 01 06:58:50 2020 +0100 (2020-05-01)
parents a78610b2eb47
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="pycairo"
4 VERSION="1.18.2"
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="https://www.cairographics.org/pycairo/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/pygobject/$PACKAGE/archive/v$VERSION/$TARBALL"
14 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
15 xorg-libXdmcp xorg-libXrender xcb-util"
16 BUILD_DEPENDS="cairo cairo-dev pkg-config python-dev xorg-xproto"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 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 }