wok-next annotate pygtk/receipt @ rev 1764

Up: ctorrent-dnh (3.3.2) + include torrentbox
author Christophe Lincoln <pankso@slitaz.org>
date Tue Nov 25 16:11:33 2008 +0100 (2008-11-25)
parents 9d977ed81a8c
children 5c120309434e
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"
pascal@1647 8 DEPENDS="python pycairo pygobject"
pascal@1257 9 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-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 \
pascal@1647 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1647 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