wok-next rev 11229
Add from wok-undigest: gnome-python-desktop gnome-python-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 04 12:53:37 2011 +0100 (2011-11-04) |
parents | 7aef52db895d |
children | 79b4cd93d448 |
files | gnome-python-desktop/receipt gnome-python-dev/receipt gnome-python/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnome-python-desktop/receipt Fri Nov 04 12:53:37 2011 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnome-python-desktop" 1.7 +VERSION="2.26.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Python bindings for GNOME desktop (gnomekeyring, rsvg, wnck)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck" 1.12 +BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev gnome-keyring-dev \ 1.13 +librsvg-dev libwnck-dev pygtk-dev gnome-python-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-module "gnomekeyring,rsvg,wnck" && 1.24 + ./waf build && 1.25 + ./waf install --destdir=$DESTDIR 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/share 1.32 + cp -a $_pkg/usr/lib $fs/usr 1.33 + cp -a $_pkg/usr/share/pygtk $fs/usr/share 1.34 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gnome-python-dev/receipt Fri Nov 04 12:53:37 2011 +0100 2.3 @@ -0,0 +1,20 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="gnome-python-dev" 2.7 +VERSION="2.28.1" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Python bindings for GNOME, development files." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +WEB_SITE="http://www.gnome.org/" 2.12 +WANTED="gnome-python" 2.13 + 2.14 +DEPENDS="gnome-python" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + mkdir -p $fs/usr/lib/gnome-vfs-2.0/modules 2.20 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.21 + cp -a $install/usr/lib/gnome-vfs-2.0/modules/*.so $fs/usr/lib/gnome-vfs-2.0/modules 2.22 + cp -a $install/usr/include $fs/usr 2.23 +}
3.1 --- a/gnome-python/receipt Fri Nov 04 12:36:01 2011 +0100 3.2 +++ b/gnome-python/receipt Fri Nov 04 12:53:37 2011 +0100 3.3 @@ -2,36 +2,33 @@ 3.4 3.5 PACKAGE="gnome-python" 3.6 VERSION="2.28.1" 3.7 -CATEGORY="system-tools" 3.8 -SHORT_DESC="Python bindings for GNOME (only gconf)." 3.9 +CATEGORY="x-window" 3.10 +SHORT_DESC="Python bindings for GNOME." 3.11 MAINTAINER="pankso@slitaz.org" 3.12 -DEPENDS="python pygtk GConf python-gconf pyorbit libgnomecanvas" 3.13 -BUILD_DEPENDS="python-dev pygtk-dev GConf-dev libbonobo-dev pyorbit \ 3.14 -libgnomecanvas-dev" 3.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.16 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.17 WEB_SITE="http://www.gnome.org/" 3.18 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 3.19 3.20 +DEPENDS="python pygobject pygtk libgnome" 3.21 +BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev" 3.22 + 3.23 # Rules to configure and make the package. 3.24 compile_rules() 3.25 { 3.26 cd $src 3.27 - ./waf configure --prefix=/usr \ 3.28 - --enable-modules="gconf,bonobo,bonobo.ui,gnome,gnomecanvas" && 3.29 - ./waf build && 3.30 - ./waf install --destdir=$PWD/_pkg 3.31 + ./configure \ 3.32 + --libexecdir=/usr/lib/$PACKAGE \ 3.33 + --sysconfdir=/etc/gnome \ 3.34 + --disable-pam && 3.35 + make && make install 3.36 } 3.37 3.38 # Rules to gen a SliTaz package suitable for Tazpkg. 3.39 genpkg_rules() 3.40 { 3.41 - # We provide devel file with this pkg. Maybe one day we will have 3.42 - # gnome-python-dev and more bindings such as libgnome. 3.43 - mkdir -p $fs/usr/lib $fs/usr/share 3.44 - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 3.45 - cp -a $_pkg/usr/lib/python* $fs/usr/lib 3.46 - cp -a $_pkg/usr/include $fs/usr 3.47 - cp -a $_pkg/usr/share/pygtk $fs/usr/share 3.48 - # GConf module goes in python-gconf 3.49 - rm $fs/usr/lib/python*/site-packages/gtk-*/gconf.so 3.50 + mkdir -p $fs/usr/share 3.51 + cp -a $install/usr/share/pygtk $fs/usr/share 3.52 + cp -a $install/usr/lib $fs/usr 3.53 + rm -rf $fs/usr/lib/pkgconfig 3.54 + rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a 3.55 }