wok diff gnome-python/receipt @ rev 11443

up: xfsprogs 3.1.7
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents 8f61ae7039d1
children f13b284197a2
line diff
     1.1 --- a/gnome-python/receipt	Fri Dec 24 00:59:37 2010 +0000
     1.2 +++ b/gnome-python/receipt	Fri Dec 16 15:42:01 2011 +0100
     1.3 @@ -2,36 +2,33 @@
     1.4  
     1.5  PACKAGE="gnome-python"
     1.6  VERSION="2.28.1"
     1.7 -CATEGORY="system-tools"
     1.8 -SHORT_DESC="Python bindings for GNOME (only gconf)."
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="Python bindings for GNOME."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="python pygtk GConf python-gconf pyorbit libgnomecanvas"
    1.13 -BUILD_DEPENDS="python-dev pygtk-dev GConf-dev libbonobo-dev pyorbit \
    1.14 -libgnomecanvas-dev"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WEB_SITE="http://www.gnome.org/"
    1.18  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.19  
    1.20 +DEPENDS="python pygobject pygtk libgnome"
    1.21 +BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev"
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26  	cd $src
    1.27 -	./waf configure --prefix=/usr \
    1.28 -		--enable-modules="gconf,bonobo,bonobo.ui,gnome,gnomecanvas" &&
    1.29 -	./waf build &&
    1.30 -	./waf install --destdir=$PWD/_pkg
    1.31 +	./configure \
    1.32 +		--libexecdir=/usr/lib/$PACKAGE \
    1.33 +		--sysconfdir=/etc/gnome \
    1.34 +		--disable-pam &&
    1.35 +	make && make install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	# We provide devel file with this pkg. Maybe one day we will have
    1.42 -	# gnome-python-dev and more bindings such as libgnome.
    1.43 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.44 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.45 -	cp -a $_pkg/usr/lib/python* $fs/usr/lib
    1.46 -	cp -a $_pkg/usr/include $fs/usr
    1.47 -	cp -a $_pkg/usr/share/pygtk $fs/usr/share
    1.48 -	# GConf module goes in python-gconf
    1.49 -	rm $fs/usr/lib/python*/site-packages/gtk-*/gconf.so
    1.50 +	mkdir -p $fs/usr/share
    1.51 +	cp -a $install/usr/share/pygtk $fs/usr/share
    1.52 +	cp -a $install/usr/lib $fs/usr
    1.53 +	rm -rf $fs/usr/lib/pkgconfig
    1.54 +	rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
    1.55  }