wok annotate gnome-python/receipt @ rev 9140
Up: samba-pam to 3.5.7.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 06 10:10:17 2011 +0000 (2011-03-06) |
parents | |
children | 76213d85c15b |
rev | line source |
---|---|
slaxemulator@7788 | 1 # SliTaz package receipt. |
slaxemulator@7788 | 2 |
slaxemulator@7788 | 3 PACKAGE="gnome-python" |
slaxemulator@7788 | 4 VERSION="2.28.1" |
slaxemulator@7788 | 5 CATEGORY="system-tools" |
slaxemulator@7788 | 6 SHORT_DESC="Python bindings for GNOME (only gconf)." |
slaxemulator@7788 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@7788 | 8 DEPENDS="python pygtk GConf python-gconf pyorbit libgnomecanvas" |
slaxemulator@7788 | 9 BUILD_DEPENDS="python-dev pygtk-dev GConf-dev libbonobo-dev pyorbit \ |
slaxemulator@7788 | 10 libgnomecanvas-dev" |
slaxemulator@7788 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7788 | 12 WEB_SITE="http://www.gnome.org/" |
slaxemulator@7788 | 13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@7788 | 14 |
slaxemulator@7788 | 15 # Rules to configure and make the package. |
slaxemulator@7788 | 16 compile_rules() |
slaxemulator@7788 | 17 { |
slaxemulator@7788 | 18 cd $src |
slaxemulator@7788 | 19 ./waf configure --prefix=/usr \ |
slaxemulator@7788 | 20 --enable-modules="gconf,bonobo,bonobo.ui,gnome,gnomecanvas" && |
slaxemulator@7788 | 21 ./waf build && |
slaxemulator@7788 | 22 ./waf install --destdir=$PWD/_pkg |
slaxemulator@7788 | 23 } |
slaxemulator@7788 | 24 |
slaxemulator@7788 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7788 | 26 genpkg_rules() |
slaxemulator@7788 | 27 { |
slaxemulator@7788 | 28 # We provide devel file with this pkg. Maybe one day we will have |
slaxemulator@7788 | 29 # gnome-python-dev and more bindings such as libgnome. |
slaxemulator@7788 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@7788 | 31 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
slaxemulator@7788 | 32 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
slaxemulator@7788 | 33 cp -a $_pkg/usr/include $fs/usr |
slaxemulator@7788 | 34 cp -a $_pkg/usr/share/pygtk $fs/usr/share |
slaxemulator@7788 | 35 # GConf module goes in python-gconf |
slaxemulator@7788 | 36 rm $fs/usr/lib/python*/site-packages/gtk-*/gconf.so |
slaxemulator@7788 | 37 } |