wok-6.x annotate python-gazpacho/receipt @ rev 6633

Up: json-glib to 0.12.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 10 12:50:11 2010 +0000 (2010-10-10)
parents
children 1264814fa42b
rev   line source
claudinei@3833 1 # SliTaz package receipt.
claudinei@3833 2
claudinei@3833 3 PACKAGE="python-gazpacho"
claudinei@3833 4 SOURCE="gazpacho"
claudinei@3833 5 VERSION="0.7.2"
claudinei@3833 6 CATEGORY="development"
claudinei@3833 7 SHORT_DESC="A GUI builder for the GTK+ toolkit"
claudinei@3833 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3833 9 DEPENDS="python pygtk python-kiwi"
claudinei@3833 10 BUILD_DEPENDS="python python-dev pygtk python-kiwi"
claudinei@3833 11 SUGGESTED="twisted"
claudinei@3833 12 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3833 13 WEB_SITE="http://gazpacho.sicem.biz"
claudinei@3833 14 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/0.7/$TARBALL"
claudinei@3833 15
claudinei@3833 16 # Rules to configure and make the package.
claudinei@3833 17 compile_rules()
claudinei@3833 18 {
claudinei@3833 19 cd $src
claudinei@3833 20 python setup.py install --root=$PWD/_pkg
claudinei@3833 21 }
claudinei@3833 22
claudinei@3833 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3833 24 genpkg_rules()
claudinei@3833 25 {
claudinei@3833 26 LOCALEDIR="$WOK/$PACKAGE/$SOURCE-$VERSION/locale"
claudinei@3833 27 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3833 28 rm $file
claudinei@3833 29 done
claudinei@3833 30 mkdir -p $fs/usr/share/locale/pt
claudinei@3833 31 cp -a $_pkg/usr/bin $fs/usr
claudinei@3833 32 cp -a $_pkg/usr/lib $fs/usr
claudinei@3833 33 cp -a $_pkg/usr/share $fs/usr
claudinei@3833 34 cp -a $LOCALEDIR/fr $fs/usr/share/locale
claudinei@3833 35 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
claudinei@3833 36 }
claudinei@3833 37