wok-current rev 3835

Add: stoqlib (0.9.10)
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Aug 07 00:03:35 2009 +0000 (2009-08-07)
parents 8fd13b11d5ed
children 07edea0cf376
files stoqlib/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stoqlib/receipt	Fri Aug 07 00:03:35 2009 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="stoqlib"
     1.7 +VERSION="0.9.10"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A powerful retail system library"
    1.10 +MAINTAINER="claudinei@slitaz.org"
    1.11 +DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
    1.12 +python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
    1.13 +BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
    1.14 +psycopg2 stoqdrivers python-pil python-reportlab python-dateutil"
    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 +{
    1.22 +	cd $src
    1.23 +	python setup.py install --root=$PWD/_pkg
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    1.30 +	for file in `find $_pkg | grep 'pyc$'`; do
    1.31 +		rm $file
    1.32 +	done
    1.33 +	mkdir -p $fs/usr/share/locale/pt
    1.34 +	cp -a $_pkg/usr/lib $fs/usr
    1.35 +	cp -a $_pkg/usr/share $fs/usr
    1.36 +	cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.37 +}
    1.38 +