wok rev 23671

updated stoqdrivers (0.9.8.2 -> 1.8.1)
author Hans-G?nter Theisgen
date Sun Apr 26 07:56:47 2020 +0100 (2020-04-26)
parents e7dc618ef7f2
children 122213caa46d
files stoqdrivers/receipt
line diff
     1.1 --- a/stoqdrivers/receipt	Sun Apr 26 07:47:01 2020 +0100
     1.2 +++ b/stoqdrivers/receipt	Sun Apr 26 07:56:47 2020 +0100
     1.3 @@ -1,35 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="stoqdrivers"
     1.7 -VERSION="0.9.8.2"
     1.8 +VERSION="1.8.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Useful drivers for Stoq and retail systems"
    1.11 +SHORT_DESC="Useful drivers for Stoq and retail systems."
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="http://www.stoq.com.br"
    1.15 +
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WGET_URL="https://github.com/stoq/$PACKAGE/archive/v$VERSION.tar.gz"
    1.18 +
    1.19  SUGGESTED="stoq"
    1.20 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 -WEB_SITE="http://www.stoq.com.br"
    1.22 -WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL"
    1.23 -
    1.24  DEPENDS="python python-kiwi python-serial zopeinterface"
    1.25  BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31  	python setup.py install --root=$DESTDIR
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 +	mkdir -p $fs/usr/share/locale/pt
    1.38 +
    1.39  	LOCALEDIR="$install/usr/share/locale"
    1.40 -	for file in `find $install | grep 'pyc$'`; do
    1.41 +	for file in `find $install | grep 'pyc$'`
    1.42 +	  do
    1.43  		rm $file
    1.44 -	done
    1.45 -	mkdir -p $fs/usr/share/locale/pt
    1.46 -	cp -a $install/usr/lib $fs/usr
    1.47 -	cp -a $install/usr/share $fs/usr
    1.48 -	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.49 +	  done
    1.50 +	cp -a $install/usr/lib			$fs/usr
    1.51 +	cp -a $install/usr/share		$fs/usr
    1.52 +	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES	$fs/usr/share/locale/pt
    1.53  }