wok-6.x annotate stoq/receipt @ rev 15145
expect: filter wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:52:35 2013 +0000 (2013-08-15) |
parents | 822e03f5288d |
children | c4f226b02549 |
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" |
claudinei@3836 | 8 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ |
claudinei@3836 | 9 python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho" |
claudinei@3836 | 10 BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib" |
claudinei@3836 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@3836 | 12 WEB_SITE="http://www.stoq.com.br" |
claudinei@3836 | 13 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" |
claudinei@3836 | 14 |
claudinei@3836 | 15 # Rules to configure and make the package. |
claudinei@3836 | 16 compile_rules() |
claudinei@3836 | 17 { |
claudinei@3836 | 18 cd $src |
gokhlayeh@8680 | 19 python setup.py install --root=$DESTDIR |
claudinei@3836 | 20 } |
claudinei@3836 | 21 |
claudinei@3836 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3836 | 23 genpkg_rules() |
claudinei@3836 | 24 { |
gokhlayeh@8680 | 25 LOCALEDIR="$_pkg/usr/share/locale" |
claudinei@3836 | 26 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3836 | 27 rm $file |
claudinei@3836 | 28 done |
claudinei@3836 | 29 mkdir -p $fs/usr/share/locale/pt $fs/etc |
claudinei@3836 | 30 cp -a $_pkg/etc/stoq $fs/etc |
claudinei@3836 | 31 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3836 | 32 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3836 | 33 cp -a $_pkg/usr/share $fs/usr |
claudinei@3836 | 34 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt |
claudinei@3836 | 35 } |
claudinei@3836 | 36 |