wok annotate pygtk/receipt @ rev 1644
Add pyxml
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:28:52 2008 +0000 (2008-11-08) |
parents | 970a1182e8d1 |
children | 8db96c574f30 |
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" |
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 \ |
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 |