wok-6.x annotate stoq/receipt @ rev 15551

Up: thunderbird-langpack-de (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:37:28 2013 +0100 (2013-11-24)
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