wok-6.x annotate python-kiwi/receipt @ rev 9011

pthon-kiwi: removed LOCALEDIR path.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:47:10 2011 +0000 (2011-03-03)
parents c94be6079e87
children cb08393c985d
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 SUGGESTED="gazpacho zopeinterface libglade"
claudinei@3832 11 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3832 12 WEB_SITE="http://www.async.com.br/projects/kiwi"
claudinei@3832 13 WGET_URL="http://download.gnome.org/sources/kiwi/1.9/$TARBALL"
claudinei@3832 14
claudinei@3832 15 # Rules to configure and make the package.
claudinei@3832 16 compile_rules()
claudinei@3832 17 {
claudinei@3832 18 cd $src
slaxemulator@9011 19 python setup.py install --root=$DESTDIR
slaxemulator@9011 20 mkdir -p $DESTDIR/usr/share/locale/pt
slaxemulator@9011 21 cp -a locale/fr $DESTDIR/usr/share/locale
slaxemulator@9011 22 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
claudinei@3832 23 }
claudinei@3832 24
claudinei@3832 25 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3832 26 genpkg_rules()
claudinei@3832 27 {
slaxemulator@9011 28 mkdir -p $fs/usr/share
claudinei@3832 29 cp -a $_pkg/usr/bin $fs/usr
claudinei@3832 30 cp -a $_pkg/usr/lib $fs/usr
claudinei@3832 31 cp -a $_pkg/usr/share/gazpacho $fs/usr/share
claudinei@3832 32 cp -a $_pkg/usr/share/kiwi $fs/usr/share
claudinei@3832 33 }
claudinei@3832 34