wok-current diff python-gazpacho/receipt @ rev 11633

Up shaarli (0.0.37beta)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 02 00:06:39 2012 +0100 (2012-02-02)
parents 744ed2c8cde8
children fd4f1e692109
line diff
     1.1 --- a/python-gazpacho/receipt	Thu Mar 03 18:30:45 2011 +0100
     1.2 +++ b/python-gazpacho/receipt	Thu Feb 02 00:06:39 2012 +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