wok-4.x rev 8680

up stoq/stoqlib 0.9.12 & add some fix
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 01:45:49 2011 +0100 (2011-02-17)
parents 03a0e7af36f6
children 1d89aa1672da
files stoq/receipt stoqdrivers/receipt stoqlib/receipt
line diff
     1.1 --- a/stoq/receipt	Thu Feb 17 01:13:41 2011 +0100
     1.2 +++ b/stoq/receipt	Thu Feb 17 01:45:49 2011 +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
     2.1 --- a/stoqdrivers/receipt	Thu Feb 17 01:13:41 2011 +0100
     2.2 +++ b/stoqdrivers/receipt	Thu Feb 17 01:45:49 2011 +0100
     2.3 @@ -16,13 +16,13 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 -	python setup.py install --root=$PWD/_pkg
     2.8 +	python setup.py install --root=$DESTDIR
     2.9  }
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.12  genpkg_rules()
    2.13  {
    2.14 -	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    2.15 +	LOCALEDIR="$_pkg/usr/share/locale"
    2.16  	for file in `find $_pkg | grep 'pyc$'`; do
    2.17  		rm $file
    2.18  	done
     3.1 --- a/stoqlib/receipt	Thu Feb 17 01:13:41 2011 +0100
     3.2 +++ b/stoqlib/receipt	Thu Feb 17 01:45:49 2011 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="stoqlib"
     3.7 -VERSION="0.9.11"
     3.8 +VERSION="0.9.12"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="A powerful retail system library"
    3.11  MAINTAINER="claudinei@slitaz.org"
    3.12 @@ -17,13 +17,14 @@
    3.13  compile_rules()
    3.14  {
    3.15  	cd $src
    3.16 -	python setup.py install --root=$PWD/_pkg
    3.17 +	chmod +x setup.py
    3.18 +	python setup.py install --root=$DESTDIR
    3.19  }
    3.20  
    3.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.22  genpkg_rules()
    3.23  {
    3.24 -	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    3.25 +	LOCALEDIR="$_pkg/usr/share/locale"
    3.26  	for file in `find $_pkg | grep 'pyc$'`; do
    3.27  		rm $file
    3.28  	done