wok-stable diff python-gazpacho/receipt @ rev 11391

Compat: replace exit by return in slitaz-toolchain recipe.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:10:43 2011 +0100 (2011-12-10)
parents 744ed2c8cde8
children
line diff
     1.1 --- a/python-gazpacho/receipt	Thu Mar 03 18:30:45 2011 +0100
     1.2 +++ b/python-gazpacho/receipt	Sat Dec 10 05:10:43 2011 +0100
     1.3 @@ -17,16 +17,16 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	python setup.py install --root=$_pkg || return 1
     1.8 -	mkdir -p $_pkg/usr/share/locale/pt
     1.9 -	cp -a locale/fr $_pkg/usr/share/locale
    1.10 -	cp -a locale/pt_BR/LC_MESSAGES $_pkg/usr/share/locale/pt
    1.11 +	python setup.py install --root=$DESTDIR || return 1
    1.12 +	mkdir -p $DESTDIR/usr/share/locale/pt
    1.13 +	cp -a locale/fr $DESTDIR/usr/share/locale
    1.14 +	cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20 -	mkdir -p $fs/usr/share/locale/pt
    1.21 +	mkdir -p $fs/usr/share
    1.22  	cp -a $_pkg/usr/bin $fs/usr
    1.23  	cp -a $_pkg/usr/lib $fs/usr
    1.24  	cp -a $_pkg/usr/share $fs/usr