wok diff stoqlib/receipt @ rev 13416

sozi: fix extensions path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 01 18:19:09 2012 +0200 (2012-10-01)
parents 822e03f5288d
children c4f226b02549
line diff
     1.1 --- a/stoqlib/receipt	Wed Dec 30 15:01:05 2009 +0000
     1.2 +++ b/stoqlib/receipt	Mon Oct 01 18:19:09 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="stoqlib"
     1.7 -VERSION="0.9.11"
     1.8 +VERSION="0.9.12"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A powerful retail system library"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -17,13 +17,14 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	python setup.py install --root=$PWD/_pkg
    1.17 +	chmod +x setup.py
    1.18 +	python setup.py install --root=$DESTDIR
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    1.25 +	LOCALEDIR="$_pkg/usr/share/locale"
    1.26  	for file in `find $_pkg | grep 'pyc$'`; do
    1.27  		rm $file
    1.28  	done