wok-next view stoq/receipt @ rev 21012
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 13 17:31:50 2018 +0300 (2018-10-13) |
parents | c022997c7a57 |
children | d5aab818505e |
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 python-pygtk postgresql python-psycopg2 python-zope.interface python-pil \
14 python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho"
15 BUILD_DEPENDS="python-dev python-pygtk-dev python-kiwi stoqlib gettext-tools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 LOCALEDIR="$install/usr/share/locale"
27 for file in `find $install | grep 'pyc$'`; do
28 rm $file
29 done
30 mkdir -p $fs/usr/share/locale/pt $fs/etc
31 cp -a $install/etc/stoq $fs/etc
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $install/usr/share $fs/usr
35 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
36 }