wok-next diff stoqlib/receipt @ rev 20085

emacs: make receipt less complicated - all files are packaged now - fix it if something bad happens.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 25 21:45:59 2017 +0300 (2017-10-25)
parents 00fefa6ebb77
children cc633e7b15aa
line diff
     1.1 --- a/stoqlib/receipt	Thu Feb 17 01:45:49 2011 +0100
     1.2 +++ b/stoqlib/receipt	Wed Oct 25 21:45:59 2017 +0300
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="A powerful retail system library"
     1.6  MAINTAINER="claudinei@slitaz.org"
     1.7 +LICENSE="LGPL2.1"
     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 python-kiwi python-gazpacho stoqdrivers python-dateutil"
    1.14  BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
    1.15  psycopg2 stoqdrivers python-pil python-reportlab python-dateutil"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.stoq.com.br"
    1.18 -WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22 @@ -24,13 +26,13 @@
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	LOCALEDIR="$_pkg/usr/share/locale"
    1.27 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.28 +	LOCALEDIR="$install/usr/share/locale"
    1.29 +	for file in `find $install | grep 'pyc$'`; do
    1.30  		rm $file
    1.31  	done
    1.32  	mkdir -p $fs/usr/share/locale/pt
    1.33 -	cp -a $_pkg/usr/lib $fs/usr
    1.34 -	cp -a $_pkg/usr/share $fs/usr
    1.35 +	cp -a $install/usr/lib $fs/usr
    1.36 +	cp -a $install/usr/share $fs/usr
    1.37  	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.38  }
    1.39