wok-6.x view python-kiwi/receipt @ rev 4445
Up: awesome (3.3.4)
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Tue Nov 03 23:27:48 2009 +0100 (2009-11-03) |
parents | |
children | c94be6079e87 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-kiwi"
4 SOURCE="kiwi"
5 VERSION="1.9.26"
6 CATEGORY="development"
7 SHORT_DESC="A framework for python applications with graphical user interfaces."
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python gtk+ pygtk"
10 BUILD_DEPENDS="python python-dev pygtk"
11 SUGGESTED="gazpacho zopeinterface libglade"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.async.com.br/projects/kiwi"
14 WGET_URL="http://download.gnome.org/sources/kiwi/1.9/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 LOCALEDIR="$WOK/$PACKAGE/$SOURCE-$VERSION/locale"
27 for file in `find $_pkg | grep 'pyc$'`; do
28 rm $file
29 done
30 mkdir -p $fs/usr/share/locale/pt
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/share/gazpacho $fs/usr/share
34 cp -a $_pkg/usr/share/kiwi $fs/usr/share
35 cp -a $LOCALEDIR/fr $fs/usr/share/locale
36 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
37 }