wok-6.x view stoqlib/receipt @ rev 19204

linld/tobzimage: add realmode_switch support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 11 20:26:42 2016 +0200 (2016-06-11)
parents 00fefa6ebb77
children b7f1bd1b9ac7
line source
1 # SliTaz package receipt.
3 PACKAGE="stoqlib"
4 VERSION="0.9.12"
5 CATEGORY="development"
6 SHORT_DESC="A powerful retail system library"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.stoq.com.br"
11 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
13 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
14 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
15 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
16 psycopg2 stoqdrivers python-pil python-reportlab python-dateutil"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 chmod +x setup.py
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 LOCALEDIR="$install/usr/share/locale"
30 for file in `find $install | grep 'pyc$'`; do
31 rm $file
32 done
33 mkdir -p $fs/usr/share/locale/pt
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share $fs/usr
36 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
37 }