wok annotate pycairo/receipt @ rev 23850
fontconfig-dev: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 15 10:00:28 2020 +0000 (2020-06-15) |
parents | a78610b2eb47 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@1175 | 3 PACKAGE="pycairo" |
Hans-G?nter@23458 | 4 VERSION="1.18.2" |
erjo@1175 | 5 CATEGORY="development" |
erjo@1175 | 6 SHORT_DESC="Python bindings for the cairo graphics library." |
erjo@1175 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15376 | 8 LICENSE="MPL LGPL2.1" |
pascal@20669 | 9 WEB_SITE="https://www.cairographics.org/pycairo/" |
Hans-G?nter@23458 | 10 |
Hans-G?nter@23458 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23458 | 12 WGET_URL="https://github.com/pygobject/$PACKAGE/archive/v$VERSION/$TARBALL" |
erjo@1175 | 13 |
pascal@15376 | 14 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \ |
Hans-G?nter@23458 | 15 xorg-libXdmcp xorg-libXrender xcb-util" |
Hans-G?nter@23458 | 16 BUILD_DEPENDS="cairo cairo-dev pkg-config python-dev xorg-xproto" |
pascal@15376 | 17 |
erjo@1175 | 18 # Rules to configure and make the package. |
erjo@1175 | 19 compile_rules() |
erjo@1175 | 20 { |
Hans-G?nter@23458 | 21 python setup.py build && |
Hans-G?nter@23458 | 22 python setup.py install --root=$DESTDIR |
erjo@1175 | 23 } |
erjo@1175 | 24 |
erjo@1175 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 26 genpkg_rules() |
erjo@1175 | 27 { |
pascal@6594 | 28 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
Hans-G?nter@23458 | 29 |
erjo@1175 | 30 mkdir -p $fs/usr/lib |
Hans-G?nter@23458 | 31 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
erjo@1175 | 32 } |