wok-current diff gnome-python/receipt @ rev 8613
Fix bdep: ario needs intltool to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 18:31:12 2011 +0100 (2011-02-14) |
parents | |
children | 76213d85c15b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnome-python/receipt Mon Feb 14 18:31:12 2011 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnome-python" 1.7 +VERSION="2.28.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Python bindings for GNOME (only gconf)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="python pygtk GConf python-gconf pyorbit libgnomecanvas" 1.12 +BUILD_DEPENDS="python-dev pygtk-dev GConf-dev libbonobo-dev pyorbit \ 1.13 +libgnomecanvas-dev" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WEB_SITE="http://www.gnome.org/" 1.16 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./waf configure --prefix=/usr \ 1.23 + --enable-modules="gconf,bonobo,bonobo.ui,gnome,gnomecanvas" && 1.24 + ./waf build && 1.25 + ./waf install --destdir=$PWD/_pkg 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + # We provide devel file with this pkg. Maybe one day we will have 1.32 + # gnome-python-dev and more bindings such as libgnome. 1.33 + mkdir -p $fs/usr/lib $fs/usr/share 1.34 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.35 + cp -a $_pkg/usr/lib/python* $fs/usr/lib 1.36 + cp -a $_pkg/usr/include $fs/usr 1.37 + cp -a $_pkg/usr/share/pygtk $fs/usr/share 1.38 + # GConf module goes in python-gconf 1.39 + rm $fs/usr/lib/python*/site-packages/gtk-*/gconf.so 1.40 +}