wok-6.x diff stoq/receipt @ rev 18718

Up: tazpkg(890), cookutils(788)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 17 15:58:11 2015 +0200 (2015-12-17)
parents 00fefa6ebb77
children b9659e3c2111
line diff
     1.1 --- a/stoq/receipt	Thu Feb 17 01:45:49 2011 +0100
     1.2 +++ b/stoq/receipt	Thu Dec 17 15:58:11 2015 +0200
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="office"
     1.5  SHORT_DESC="Stoq is a suite of Retail Management System applications."
     1.6  MAINTAINER="claudinei@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9 +WEB_SITE="http://www.stoq.com.br"
    1.10 +WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
    1.11 +
    1.12  DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
    1.13  python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho"
    1.14  BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.stoq.com.br"
    1.17 -WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21 @@ -22,15 +24,15 @@
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	LOCALEDIR="$_pkg/usr/share/locale"
    1.26 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.27 +	LOCALEDIR="$install/usr/share/locale"
    1.28 +	for file in `find $install | grep 'pyc$'`; do
    1.29  		rm $file
    1.30  	done
    1.31  	mkdir -p $fs/usr/share/locale/pt $fs/etc
    1.32 -	cp -a $_pkg/etc/stoq $fs/etc
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/lib $fs/usr
    1.35 -	cp -a $_pkg/usr/share $fs/usr
    1.36 +	cp -a $install/etc/stoq $fs/etc
    1.37 +	cp -a $install/usr/bin $fs/usr
    1.38 +	cp -a $install/usr/lib $fs/usr
    1.39 +	cp -a $install/usr/share $fs/usr
    1.40  	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.41  }
    1.42