wok-stable annotate pycairo/receipt @ rev 11647
Add: memcached*
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 04 02:18:27 2012 +0100 (2012-02-04) |
parents | 591275ef94d4 |
children |
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@2455 | 8 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \ |
pascal@2844 | 9 xorg-libXdmcp xorg-libXrender xcb-util" |
slaxemulator@6781 | 10 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev" |
slaxemulator@11029 | 11 SOURCE="py2cairo" |
slaxemulator@11029 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@1175 | 13 WEB_SITE="http://www.cairographics.org/pycairo/" |
erjo@1175 | 14 WGET_URL="http://www.cairographics.org/releases/$TARBALL" |
erjo@1175 | 15 |
erjo@1175 | 16 # Rules to configure and make the package. |
erjo@1175 | 17 compile_rules() |
erjo@1175 | 18 { |
erjo@1175 | 19 cd $src |
slaxemulator@11029 | 20 ./waf configure --prefix=/usr && |
slaxemulator@11029 | 21 ./waf build && |
slaxemulator@11029 | 22 ./waf install --destdir=$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/') |
erjo@1175 | 29 mkdir -p $fs/usr/lib |
pascal@6592 | 30 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
erjo@1175 | 31 } |
erjo@1175 | 32 |