wok-4.x diff python-kiwi/receipt @ rev 7461

Up: gstreamer to 0.10.31.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Nov 30 20:56:13 2010 +0000 (2010-11-30)
parents
children c94be6079e87
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-kiwi/receipt	Tue Nov 30 20:56:13 2010 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-kiwi"
     1.7 +SOURCE="kiwi"
     1.8 +VERSION="1.9.26"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A framework for python applications with graphical user interfaces."
    1.11 +MAINTAINER="claudinei@slitaz.org"
    1.12 +DEPENDS="python gtk+ pygtk"
    1.13 +BUILD_DEPENDS="python python-dev pygtk"
    1.14 +SUGGESTED="gazpacho zopeinterface libglade"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 +WEB_SITE="http://www.async.com.br/projects/kiwi"
    1.17 +WGET_URL="http://download.gnome.org/sources/kiwi/1.9/$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/gazpacho $fs/usr/share
    1.37 +	cp -a $_pkg/usr/share/kiwi $fs/usr/share
    1.38 +	cp -a $LOCALEDIR/fr $fs/usr/share/locale
    1.39 +	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.40 +}
    1.41 +