wok view pycairo/receipt @ rev 9914
blender: fix bdeps (I hope)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 20:12:58 2011 +0200 (2011-05-17) |
parents | d0fa681cee8d |
children | f0f364ff2de0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pycairo"
4 VERSION="1.8.10"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the cairo graphics library."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
9 xorg-libXdmcp xorg-libXrender xcb-util"
10 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
11 _SOURCE="py2cairo" # only tar.gz is named different
12 TARBALL="$_SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.cairographics.org/pycairo/"
14 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
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 $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
32 }