wok-current annotate stoqlib/receipt @ 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
children 822e03f5288d
rev   line source
claudinei@3835 1 # SliTaz package receipt.
claudinei@3835 2
claudinei@3835 3 PACKAGE="stoqlib"
claudinei@3835 4 VERSION="0.9.10"
claudinei@3835 5 CATEGORY="development"
claudinei@3835 6 SHORT_DESC="A powerful retail system library"
claudinei@3835 7 MAINTAINER="claudinei@slitaz.org"
claudinei@3835 8 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
claudinei@3835 9 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
claudinei@3835 10 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
claudinei@3835 11 psycopg2 stoqdrivers python-pil python-reportlab python-dateutil"
claudinei@3835 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@3835 13 WEB_SITE="http://www.stoq.com.br"
claudinei@3835 14 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
claudinei@3835 15
claudinei@3835 16 # Rules to configure and make the package.
claudinei@3835 17 compile_rules()
claudinei@3835 18 {
claudinei@3835 19 cd $src
claudinei@3835 20 python setup.py install --root=$PWD/_pkg
claudinei@3835 21 }
claudinei@3835 22
claudinei@3835 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3835 24 genpkg_rules()
claudinei@3835 25 {
claudinei@3835 26 LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
claudinei@3835 27 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3835 28 rm $file
claudinei@3835 29 done
claudinei@3835 30 mkdir -p $fs/usr/share/locale/pt
claudinei@3835 31 cp -a $_pkg/usr/lib $fs/usr
claudinei@3835 32 cp -a $_pkg/usr/share $fs/usr
claudinei@3835 33 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
claudinei@3835 34 }
claudinei@3835 35