wok-current rev 3833

Add: python-gazpacho (0.7.2)
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Aug 06 23:57:22 2009 +0000 (2009-08-06)
parents c6fe6ff2bb79
children 8fd13b11d5ed
files python-gazpacho/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-gazpacho/receipt	Thu Aug 06 23:57:22 2009 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-gazpacho"
     1.7 +SOURCE="gazpacho"
     1.8 +VERSION="0.7.2"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A GUI builder for the GTK+ toolkit"
    1.11 +MAINTAINER="claudinei@slitaz.org"
    1.12 +DEPENDS="python pygtk python-kiwi"
    1.13 +BUILD_DEPENDS="python python-dev pygtk python-kiwi"
    1.14 +SUGGESTED="twisted"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 +WEB_SITE="http://gazpacho.sicem.biz"
    1.17 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/0.7/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	python setup.py install --root=$PWD/_pkg
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	LOCALEDIR="$WOK/$PACKAGE/$SOURCE-$VERSION/locale"
    1.30 +	for file in `find $_pkg | grep 'pyc$'`; do
    1.31 +		rm $file
    1.32 +	done
    1.33 +	mkdir -p $fs/usr/share/locale/pt
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/lib $fs/usr
    1.36 +	cp -a $_pkg/usr/share $fs/usr
    1.37 +	cp -a $LOCALEDIR/fr $fs/usr/share/locale
    1.38 +	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.39 +}
    1.40 +