wok-current diff python-gazpacho/receipt @ rev 8170
imported patch toolchain/automake.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | |
children | 1264814fa42b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-gazpacho/receipt Thu Jan 27 00:20:49 2011 +0100 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 +