wok-current annotate stoq/receipt @ rev 6535

Up: subversion to 1.6.13. Added build_depends need for libproxy. libproxy needs a rebuild anyway
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 06 00:38:44 2010 +0000 (2010-10-06)
parents 07edea0cf376
children 00fefa6ebb77
rev   line source
claudinei@3836 1 # SliTaz package receipt.
claudinei@3836 2
claudinei@3836 3 PACKAGE="stoq"
claudinei@4687 4 VERSION="0.9.11"
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
claudinei@3836 19 sed -i "s/STOQLIB_REQUIRED = '0.9.9'/STOQLIB_REQUIRED = '0.9.10'/" \
claudinei@3836 20 setup.py
claudinei@3836 21 python setup.py install --root=$PWD/_pkg
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 {
claudinei@3836 27 LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
claudinei@3836 28 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3836 29 rm $file
claudinei@3836 30 done
claudinei@3836 31 mkdir -p $fs/usr/share/locale/pt $fs/etc
claudinei@3836 32 cp -a $_pkg/etc/stoq $fs/etc
claudinei@3836 33 cp -a $_pkg/usr/bin $fs/usr
claudinei@3836 34 cp -a $_pkg/usr/lib $fs/usr
claudinei@3836 35 cp -a $_pkg/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