wok-next diff python-kiwi/receipt @ rev 9536
Up: tazpkg (4.6.1) - Bug fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 08 18:42:01 2011 +0200 (2011-04-08) |
parents | c94be6079e87 |
children | cb08393c985d |
line diff
1.1 --- a/python-kiwi/receipt Thu Mar 03 11:52:25 2011 +0000 1.2 +++ b/python-kiwi/receipt Fri Apr 08 18:42:01 2011 +0200 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