wok-next view pycairo/receipt @ rev 18349
visualboyadvance: add vba.glade closes bug #146
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Sep 11 20:23:18 2015 -0400 (2015-09-11) |
parents | bf4a09ef1d2e |
children | 9278a60d6895 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pycairo"
4 VERSION="1.10.0"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the cairo graphics library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 SOURCE="py2cairo"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.cairographics.org/pycairo/"
12 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
14 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
15 xorg-libXdmcp xorg-libXrender xcb-util"
16 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./waf configure --prefix=/usr &&
22 ./waf build &&
23 ./waf install --destdir=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
32 }