wok-6.x annotate pygtk/receipt @ rev 2130
enchant: update depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Feb 02 11:46:12 2009 +0000 (2009-02-02) |
parents | 8db96c574f30 |
children | 93b397dc8274 |
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 |
pascal@1845 | 31 chmod +x $fs/usr/bin/* |
erjo@1175 | 32 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib |
erjo@1175 | 33 } |
erjo@1175 | 34 |