wok annotate stoq/receipt @ rev 17706
Up marlin: edit last patch (again)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Mon Mar 02 11:26:30 2015 -0300 (2015-03-02) |
parents | 00fefa6ebb77 |
children | b9659e3c2111 |
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" |
claudinei@3836 | 6 SHORT_DESC="Stoq is a suite of Retail Management System applications." |
claudinei@3836 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15581 | 8 LICENSE="GPL2" |
pascal@15581 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15581 | 10 WEB_SITE="http://www.stoq.com.br" |
pascal@15581 | 11 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" |
pascal@15581 | 12 |
claudinei@3836 | 13 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ |
claudinei@3836 | 14 python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho" |
claudinei@3836 | 15 BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib" |
claudinei@3836 | 16 |
claudinei@3836 | 17 # Rules to configure and make the package. |
claudinei@3836 | 18 compile_rules() |
claudinei@3836 | 19 { |
claudinei@3836 | 20 cd $src |
gokhlayeh@8680 | 21 python setup.py install --root=$DESTDIR |
claudinei@3836 | 22 } |
claudinei@3836 | 23 |
claudinei@3836 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3836 | 25 genpkg_rules() |
claudinei@3836 | 26 { |
pascal@15581 | 27 LOCALEDIR="$install/usr/share/locale" |
pascal@15581 | 28 for file in `find $install | grep 'pyc$'`; do |
claudinei@3836 | 29 rm $file |
claudinei@3836 | 30 done |
claudinei@3836 | 31 mkdir -p $fs/usr/share/locale/pt $fs/etc |
pascal@15581 | 32 cp -a $install/etc/stoq $fs/etc |
pascal@15581 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15581 | 34 cp -a $install/usr/lib $fs/usr |
pascal@15581 | 35 cp -a $install/usr/share $fs/usr |
claudinei@3836 | 36 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3836 | 37 } |
claudinei@3836 | 38 |