wok-6.x view gnome-python-desktop/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 5286a067ac76
children 86790a278e70
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 LICENSE="GPL LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="python GConf gnome-python gnome-keyring librsvg libwnck"
14 BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \
15 gnome-keyring-dev librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }