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