wok rev 3834

Add: stoqdrivers (0.9.8)
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Aug 07 00:02:50 2009 +0000 (2009-08-07)
parents f229cdfdb258
children 00cf8f7561a9
files stoqdrivers/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stoqdrivers/receipt	Fri Aug 07 00:02:50 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="stoqdrivers"
     1.7 +VERSION="0.9.8"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Useful drivers for Stoq and retail systems"
    1.10 +MAINTAINER="claudinei@slitaz.org"
    1.11 +DEPENDS="python python-kiwi python-serial zopeinterface"
    1.12 +BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
    1.13 +SUGGESTED="stoq"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.stoq.com.br"
    1.16 +WGET_URL="http://download.stoq.com.br/sources/0.9.10/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	python setup.py install --root=$PWD/_pkg
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
    1.29 +	for file in `find $_pkg | 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 $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
    1.36 +}
    1.37 +