wok-4.x view stoqlib/receipt @ rev 4687

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