wok-current annotate pycairo/receipt @ rev 2455
py3k pycairo pygobject pygtk python-lxml python: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 07:28:53 2009 +0000 (2009-03-14) |
parents | c1ff74d9b6f4 |
children | 3dce3a64acf3 |
rev | line source |
---|---|
erjo@1175 | 1 # SliTaz package receipt. |
erjo@1175 | 2 |
erjo@1175 | 3 PACKAGE="pycairo" |
erjo@1175 | 4 VERSION="1.4.12" |
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@2455 | 9 xorg-libXdmcp xorg-libXrender" |
pascal@1465 | 10 BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto" |
erjo@1175 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1175 | 12 WEB_SITE="http://www.cairographics.org/pycairo/" |
erjo@1175 | 13 WGET_URL="http://www.cairographics.org/releases/$TARBALL" |
erjo@1175 | 14 |
erjo@1175 | 15 # Rules to configure and make the package. |
erjo@1175 | 16 compile_rules() |
erjo@1175 | 17 { |
erjo@1175 | 18 cd $src |
erjo@1175 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1465 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1465 | 21 make && |
erjo@1175 | 22 make DESTDIR=$PWD/_pkg install |
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 { |
erjo@1175 | 28 mkdir -p $fs/usr/lib |
erjo@1175 | 29 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib |
erjo@1175 | 30 } |
erjo@1175 | 31 |