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

python-kiwi: fix bdep
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 11:29:00 2011 +0200 (2011-05-17)
parents b14d5260f5dd
children 93e964cdd55d
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 SUGGESTED="gazpacho zopeinterface libglade"
claudinei@3832 10 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3832 11 WEB_SITE="http://www.async.com.br/projects/kiwi"
claudinei@3832 12 WGET_URL="http://download.gnome.org/sources/kiwi/1.9/$TARBALL"
claudinei@3832 13
pankso@9894 14 DEPENDS="python gtk+ pygobject pygtk"
pankso@9894 15 BUILD_DEPENDS="python-dev gtk+-dev pygobject-dev pygtk-dev"
pankso@9894 16
claudinei@3832 17 # Rules to configure and make the package.
claudinei@3832 18 compile_rules()
claudinei@3832 19 {
claudinei@3832 20 cd $src
slaxemulator@9011 21 python setup.py install --root=$DESTDIR
slaxemulator@9011 22 mkdir -p $DESTDIR/usr/share/locale/pt
slaxemulator@9011 23 cp -a locale/fr $DESTDIR/usr/share/locale
slaxemulator@9011 24 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
claudinei@3832 25 }
claudinei@3832 26
claudinei@3832 27 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3832 28 genpkg_rules()
claudinei@3832 29 {
slaxemulator@9011 30 mkdir -p $fs/usr/share
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 }
claudinei@3832 36