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