wok view gnome-python-desktop/receipt @ rev 14045

hydra: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 18:37:30 2013 +0100 (2013-02-18)
parents 76213d85c15b
children 5286a067ac76
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-python-desktop"
4 VERSION="2.30.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python bindings for GNOME desktop (gnomekeyring, rsvg, wnck)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck"
13 BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev gnome-keyring-dev \
14 librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./waf configure --prefix=/usr \
21 --enable-module "gnomekeyring,rsvg,wnck" &&
22 ./waf build &&
23 ./waf install --destdir=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/lib $fs/usr
31 cp -a $install/usr/share/pygtk $fs/usr/share
32 }