wok-current view pycairo/receipt @ rev 2151
Add punjab
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 05 17:06:51 2009 +0000 (2009-02-05) |
parents | 970a1182e8d1 |
children | 93b397dc8274 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pycairo"
4 VERSION="1.4.12"
5 CATEGORY="development"
6 SHORT_DESC="Python bindings for the cairo graphics library."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="cairo"
9 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cairographics.org/pycairo/"
12 WGET_URL="http://www.cairographics.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
29 }