wok-6.x diff gnome-python-desktop/receipt @ rev 11782

gnumeric: update bdeps
author Richard Dunbar <mojo@slitaz.org>
date Thu Feb 23 23:31:17 2012 +0000 (2012-02-23)
parents
children 7bae4b5c4549
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-python-desktop/receipt	Thu Feb 23 23:31:17 2012 +0000
     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 +}