wok-undigest rev 495

Add gnome-python
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 08 21:42:08 2011 +0200 (2011-10-08)
parents 0654ed12476e
children 6993bab07a26
files gnome-python-desktop/receipt gnome-python-dev/receipt gnome-python/receipt
line diff
     1.1 --- a/gnome-python-desktop/receipt	Sat Oct 08 19:00:10 2011 +0200
     1.2 +++ b/gnome-python-desktop/receipt	Sat Oct 08 21:42:08 2011 +0200
     1.3 @@ -7,10 +7,10 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck"
     1.6  BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev gnome-keyring-dev \
     1.7 -librsvg-dev libwnck-dev pygtk-dev"
     1.8 +librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://www.gnome.org/"
    1.11 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.26/$TARBALL"
    1.12 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gnome-python-dev/receipt	Sat Oct 08 21:42:08 2011 +0200
     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 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gnome-python/receipt	Sat Oct 08 21:42:08 2011 +0200
     3.3 @@ -0,0 +1,34 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="gnome-python"
     3.7 +VERSION="2.28.1"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="Python bindings for GNOME."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://www.gnome.org/"
    3.13 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.14 +
    3.15 +DEPENDS="python pygobject pygtk libgnome"
    3.16 +BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	cd $src
    3.22 +	./configure \
    3.23 +		--libexecdir=/usr/lib/$PACKAGE \
    3.24 +		--sysconfdir=/etc/gnome \
    3.25 +		--disable-pam &&
    3.26 +	make && make install
    3.27 +}
    3.28 +
    3.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.30 +genpkg_rules()
    3.31 +{
    3.32 +	mkdir -p $fs/usr/share
    3.33 +	cp -a $install/usr/share/pygtk $fs/usr/share
    3.34 +	cp -a $install/usr/lib $fs/usr
    3.35 +	rm -rf $fs/usr/lib/pkgconfig
    3.36 +	rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a
    3.37 +}