wok-6.x view pycairo/receipt @ rev 6705

Up: libsndfile to 1.0.23.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 13 22:01:19 2010 +0000 (2010-10-13)
parents 5921dc28d8c6
children 591275ef94d4
line source
1 # SliTaz package receipt.
3 PACKAGE="pycairo"
4 VERSION="1.8.2"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cairographics.org/pycairo/"
13 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
31 }