wok-current annotate pycairo/receipt @ rev 19142
Down ffmpeg (2.8.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 12:09:28 2016 +0200 (2016-05-19) |
parents | bf4a09ef1d2e |
children | a78610b2eb47 |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@1175 | 3 PACKAGE="pycairo" |
slaxemulator@11029 | 4 VERSION="1.10.0" |
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" |
slaxemulator@11029 | 9 SOURCE="py2cairo" |
slaxemulator@11029 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@1175 | 11 WEB_SITE="http://www.cairographics.org/pycairo/" |
erjo@1175 | 12 WGET_URL="http://www.cairographics.org/releases/$TARBALL" |
erjo@1175 | 13 |
pascal@15376 | 14 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \ |
pascal@15376 | 15 xorg-libXdmcp xorg-libXrender xcb-util" |
pascal@15376 | 16 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev" |
pascal@15376 | 17 |
erjo@1175 | 18 # Rules to configure and make the package. |
erjo@1175 | 19 compile_rules() |
erjo@1175 | 20 { |
slaxemulator@11029 | 21 ./waf configure --prefix=/usr && |
slaxemulator@11029 | 22 ./waf build && |
slaxemulator@11029 | 23 ./waf install --destdir=$DESTDIR |
erjo@1175 | 24 } |
erjo@1175 | 25 |
erjo@1175 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 27 genpkg_rules() |
erjo@1175 | 28 { |
pascal@6594 | 29 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
erjo@1175 | 30 mkdir -p $fs/usr/lib |
pascal@15376 | 31 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
erjo@1175 | 32 } |