wok-next view pycairo/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents 05d4a6d977d4
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pycairo"
4 VERSION="1.15.3"
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/pycairo/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="python-dev cairo-dev"
15 SPLIT="pycairo-dev"
17 compile_rules() {
18 python setup.py build &&
19 python setup.py install --root=$install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 pycairo)
25 copy @std
26 DEPENDS="cairo python"
27 ;;
28 *-dev)
29 copy @dev
30 DEPENDS="pycairo cairo-dev"
31 ;;
32 esac
33 }