wok-next view pycairo/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 9278a60d6895 |
children | 0e7893ac206d |
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 }