wok view python-gazpacho/receipt @ rev 7064
Added virtualbox-ose.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 01 22:42:11 2010 +0000 (2010-11-01) |
parents | |
children | 1264814fa42b |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-gazpacho"
4 SOURCE="gazpacho"
5 VERSION="0.7.2"
6 CATEGORY="development"
7 SHORT_DESC="A GUI builder for the GTK+ toolkit"
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python pygtk python-kiwi"
10 BUILD_DEPENDS="python python-dev pygtk python-kiwi"
11 SUGGESTED="twisted"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://gazpacho.sicem.biz"
14 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/0.7/$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 $fs/usr
34 cp -a $LOCALEDIR/fr $fs/usr/share/locale
35 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
36 }