wok-6.x view stoq/receipt @ rev 23245
updated njconnect (1.2 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:58:29 2020 +0100 (2020-03-25) |
parents | 00fefa6ebb77 |
children | b9659e3c2111 |
line source
1 # SliTaz package receipt.
3 PACKAGE="stoq"
4 VERSION="0.9.12"
5 CATEGORY="office"
6 SHORT_DESC="Stoq is a suite of Retail Management System applications."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
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 stoqlib stoqdrivers python-kiwi python-gazpacho"
15 BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 LOCALEDIR="$install/usr/share/locale"
28 for file in `find $install | grep 'pyc$'`; do
29 rm $file
30 done
31 mkdir -p $fs/usr/share/locale/pt $fs/etc
32 cp -a $install/etc/stoq $fs/etc
33 cp -a $install/usr/bin $fs/usr
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 }