wok-current annotate pygtk/receipt @ rev 2688
Revert: cairo, firefox, xorg-xproto, zip
* Winners don't use drugs
* Winners don't use drugs
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Wed Apr 22 17:45:58 2009 +0200 (2009-04-22) |
parents | 93b397dc8274 |
children | c0829358d255 |
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@2455 | 8 DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \ |
pascal@2455 | 9 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
pascal@2522 | 10 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" |
pascal@1257 | 11 BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev" |
erjo@1175 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1175 | 13 WEB_SITE="http://www.pygtk.org/" |
erjo@1175 | 14 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/$TARBALL" |
erjo@1175 | 15 |
erjo@1175 | 16 # Rules to configure and make the package. |
erjo@1175 | 17 compile_rules() |
erjo@1175 | 18 { |
erjo@1175 | 19 cd $src |
erjo@1175 | 20 ./configure --prefix=/usr \ |
erjo@1175 | 21 --infodir=/usr/share/info \ |
erjo@1175 | 22 --disable-docs \ |
pascal@1647 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1647 | 24 make && |
erjo@1175 | 25 make DESTDIR=$PWD/_pkg install |
erjo@1175 | 26 } |
erjo@1175 | 27 |
erjo@1175 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1175 | 29 genpkg_rules() |
erjo@1175 | 30 { |
erjo@1175 | 31 mkdir -p $fs/usr/bin $fs/usr/lib |
erjo@1175 | 32 cp -a $_pkg/usr/bin/pygtk-codegen* $fs/usr/bin |
pascal@1845 | 33 chmod +x $fs/usr/bin/* |
erjo@1175 | 34 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib |
erjo@1175 | 35 } |
erjo@1175 | 36 |