wok-4.x rev 9012
python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 12:49:02 2011 +0000 (2011-03-03) |
parents | b14d5260f5dd |
children | f8a089713f83 |
files | python-gazpacho/receipt |
line diff
1.1 --- a/python-gazpacho/receipt Thu Mar 03 12:47:10 2011 +0000 1.2 +++ b/python-gazpacho/receipt Thu Mar 03 12:49:02 2011 +0000 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