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