wok-current annotate pygtk/receipt @ rev 1175

Add Python bindings for cairo, GTK, GObject.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Aug 02 14:05:35 2008 +0200 (2008-08-02)
parents
children 9d977ed81a8c
rev   line source
erjo@1175 1 # SliTaz package receipt.
erjo@1175 2
erjo@1175 3 PACKAGE="pygtk"
erjo@1175 4 VERSION="2.12.1"
erjo@1175 5 CATEGORY="development"
erjo@1175 6 SHORT_DESC="GTK+ for Python"
erjo@1175 7 MAINTAINER="erjo@slitaz.org"
erjo@1175 8 DEPENDS="python"
erjo@1175 9 BUILD_DEPENDS="pygobject-dev pycairo-dev"
erjo@1175 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1175 11 WEB_SITE="http://www.pygtk.org/"
erjo@1175 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/$TARBALL"
erjo@1175 13
erjo@1175 14 # Rules to configure and make the package.
erjo@1175 15 compile_rules()
erjo@1175 16 {
erjo@1175 17 cd $src
erjo@1175 18 ./configure --prefix=/usr \
erjo@1175 19 --infodir=/usr/share/info \
erjo@1175 20 --disable-docs \
erjo@1175 21 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@1175 22 make
erjo@1175 23 make DESTDIR=$PWD/_pkg install
erjo@1175 24 }
erjo@1175 25
erjo@1175 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1175 27 genpkg_rules()
erjo@1175 28 {
erjo@1175 29 mkdir -p $fs/usr/bin $fs/usr/lib
erjo@1175 30 cp -a $_pkg/usr/bin/pygtk-codegen* $fs/usr/bin
erjo@1175 31 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
erjo@1175 32 }
erjo@1175 33