wok-6.x view pycairo/receipt @ rev 23705
updated tmate (2.3.1 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 28 14:06:33 2020 +0100 (2020-04-28) |
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 }