wok-next annotate stoq/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | a3254b6a96ac |
children |
rev | line source |
---|---|
claudinei@3836 | 1 # SliTaz package receipt. |
claudinei@3836 | 2 |
claudinei@3836 | 3 PACKAGE="stoq" |
gokhlayeh@8680 | 4 VERSION="0.9.12" |
claudinei@3836 | 5 CATEGORY="office" |
al@21020 | 6 SHORT_DESC="Suite of Retail Management System applications" |
claudinei@3836 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15581 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://www.stoq.com.br/" |
al@21020 | 10 |
pascal@15581 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15581 | 12 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" |
pascal@15581 | 13 |
al@21020 | 14 BUILD_DEPENDS="python-dev python-pygtk-dev python-kiwi stoqlib gettext" |
claudinei@3836 | 15 |
al@21020 | 16 compile_rules() { |
al@21020 | 17 python -B setup.py install --root=$install |
claudinei@3836 | 18 } |
claudinei@3836 | 19 |
al@21020 | 20 genpkg_rules() { |
pascal@15581 | 21 LOCALEDIR="$install/usr/share/locale" |
pascal@15581 | 22 for file in `find $install | grep 'pyc$'`; do |
claudinei@3836 | 23 rm $file |
claudinei@3836 | 24 done |
claudinei@3836 | 25 mkdir -p $fs/usr/share/locale/pt $fs/etc |
pascal@15581 | 26 cp -a $install/etc/stoq $fs/etc |
pascal@15581 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15581 | 28 cp -a $install/usr/lib $fs/usr |
pascal@15581 | 29 cp -a $install/usr/share $fs/usr |
claudinei@3836 | 30 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
al@21020 | 31 DEPENDS="python python-pygtk postgresql python-psycopg2 \ |
al@21020 | 32 python-zope.interface python-pil python-reportlab stoqlib stoqdrivers \ |
al@21020 | 33 python-kiwi python-gazpacho" |
claudinei@3836 | 34 } |