wok-undigest view gnome-python/receipt @ rev 168

Add: qTwitter v0.10.0 (Twitter/StatusNet client) and deps:
- Qt4-QCA v2.0.2 (Qt Crypto Arch)
- Qt4-QCA-OSSL v2.0.0-beta3 (SSL plug-in)
- QoAuth v1.0 (Qt oAuth) -- may need fixes on file locations
author Ben Arnold <ben@seawolfsanctuary.com>
date Sat Sep 04 21:46:16 2010 +0100 (2010-09-04)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-python"
4 VERSION="2.26.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python bindings for GNOME (only gconf)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python pygtk GConf python-gconf pyorbit libgnomecanvas"
9 BUILD_DEPENDS="python-dev pygtk-dev GConf-dev libbonobo-dev pyorbit \
10 libgnomecanvas-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnome.org/"
13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gnome-python/2.26/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./waf configure --prefix=/usr \
20 --enable-modules="gconf,bonobo,bonobo.ui,gnome,gnomecanvas" &&
21 ./waf build &&
22 ./waf install --destdir=$PWD/_pkg
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 # We provide devel file with this pkg. Maybe one day we will have
29 # gnome-python-dev and more bindings such as libgnome.
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
32 cp -a $_pkg/usr/lib/python* $fs/usr/lib
33 cp -a $_pkg/usr/include $fs/usr
34 cp -a $_pkg/usr/share/pygtk $fs/usr/share
35 # GConf module goes in python-gconf
36 rm $fs/usr/lib/python*/site-packages/gtk-*/gconf.so
37 }