wok-next diff stoq/receipt @ rev 14175

Up linux (3.2.40)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 10 13:32:17 2013 +0100 (2013-03-10)
parents 822e03f5288d
children c4f226b02549
line diff
     1.1 --- a/stoq/receipt	Wed Dec 30 15:01:05 2009 +0000
     1.2 +++ b/stoq/receipt	Sun Mar 10 13:32:17 2013 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="stoq"
     1.7 -VERSION="0.9.11"
     1.8 +VERSION="0.9.12"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Stoq is a suite of Retail Management System applications."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -16,15 +16,13 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	sed -i "s/STOQLIB_REQUIRED = '0.9.9'/STOQLIB_REQUIRED = '0.9.10'/" \
    1.17 -		setup.py
    1.18 -	python setup.py install --root=$PWD/_pkg
    1.19 +	python setup.py install --root=$DESTDIR
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    1.26 +	LOCALEDIR="$_pkg/usr/share/locale"
    1.27  	for file in `find $_pkg | grep 'pyc$'`; do
    1.28  		rm $file
    1.29  	done