wok-next view stoq/receipt @ rev 21235

Up tazlito (523)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 04 14:47:24 2019 +0100 (2019-12-04)
parents a3254b6a96ac
children
line source
1 # SliTaz package receipt.
3 PACKAGE="stoq"
4 VERSION="0.9.12"
5 CATEGORY="office"
6 SHORT_DESC="Suite of Retail Management System applications"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.stoq.com.br/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
14 BUILD_DEPENDS="python-dev python-pygtk-dev python-kiwi stoqlib gettext"
16 compile_rules() {
17 python -B setup.py install --root=$install
18 }
20 genpkg_rules() {
21 LOCALEDIR="$install/usr/share/locale"
22 for file in `find $install | grep 'pyc$'`; do
23 rm $file
24 done
25 mkdir -p $fs/usr/share/locale/pt $fs/etc
26 cp -a $install/etc/stoq $fs/etc
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 cp -a $install/usr/share $fs/usr
30 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
31 DEPENDS="python python-pygtk postgresql python-psycopg2 \
32 python-zope.interface python-pil python-reportlab stoqlib stoqdrivers \
33 python-kiwi python-gazpacho"
34 }