wok-6.x annotate gnome-python-desktop/receipt @ 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
children 7bae4b5c4549
rev   line source
pascal@11229 1 # SliTaz package receipt.
pascal@11229 2
pascal@11229 3 PACKAGE="gnome-python-desktop"
pascal@11229 4 VERSION="2.26.0"
pascal@11229 5 CATEGORY="system-tools"
pascal@11229 6 SHORT_DESC="Python bindings for GNOME desktop (gnomekeyring, rsvg, wnck)."
pascal@11229 7 MAINTAINER="pankso@slitaz.org"
pascal@11229 8 DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck"
pascal@11229 9 BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev gnome-keyring-dev \
pascal@11229 10 librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
pascal@11229 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11229 12 WEB_SITE="http://www.gnome.org/"
pascal@11229 13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11229 14
pascal@11229 15 # Rules to configure and make the package.
pascal@11229 16 compile_rules()
pascal@11229 17 {
pascal@11229 18 cd $src
pascal@11229 19 ./waf configure --prefix=/usr \
pascal@11229 20 --enable-module "gnomekeyring,rsvg,wnck" &&
pascal@11229 21 ./waf build &&
pascal@11229 22 ./waf install --destdir=$DESTDIR
pascal@11229 23 }
pascal@11229 24
pascal@11229 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11229 26 genpkg_rules()
pascal@11229 27 {
pascal@11229 28 mkdir -p $fs/usr/share
pascal@11229 29 cp -a $_pkg/usr/lib $fs/usr
pascal@11229 30 cp -a $_pkg/usr/share/pygtk $fs/usr/share
pascal@11229 31 }