wok-current 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 f73516f45a90
children 22165a2fb1b5
files python-kiwi/receipt
line diff
     1.1 --- a/python-kiwi/receipt	Thu Mar 03 12:35:55 2011 +0000
     1.2 +++ b/python-kiwi/receipt	Thu Mar 03 12:47:10 2011 +0000
     1.3 @@ -16,19 +16,19 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	python setup.py install --root=$PWD/_pkg
     1.8 +	python setup.py install --root=$DESTDIR
     1.9 +	mkdir -p $DESTDIR/usr/share/locale/pt
    1.10 +	cp -a locale/fr $DESTDIR/usr/share/locale
    1.11 +	cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
    1.12  }
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17 -	LOCALEDIR="$src/locale"
    1.18 -	mkdir -p $fs/usr/share/locale/pt
    1.19 +	mkdir -p $fs/usr/share
    1.20  	cp -a $_pkg/usr/bin $fs/usr
    1.21  	cp -a $_pkg/usr/lib $fs/usr
    1.22  	cp -a $_pkg/usr/share/gazpacho $fs/usr/share
    1.23  	cp -a $_pkg/usr/share/kiwi $fs/usr/share
    1.24 -	cp -a $LOCALEDIR/fr $fs/usr/share/locale
    1.25 -	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.26  }
    1.27