wok-6.x annotate stoqdrivers/receipt @ rev 3943

Add: pyroom
author Paul Issott <paul@slitaz.org>
date Sat Aug 22 12:24:32 2009 +0000 (2009-08-22)
parents
children 822e03f5288d
rev   line source
claudinei@3834 1 # SliTaz package receipt.
claudinei@3834 2
claudinei@3834 3 PACKAGE="stoqdrivers"
claudinei@3834 4 VERSION="0.9.8"
claudinei@3834 5 CATEGORY="development"
claudinei@3834 6 SHORT_DESC="Useful drivers for Stoq and retail systems"
claudinei@3834 7 MAINTAINER="claudinei@slitaz.org"
claudinei@3834 8 DEPENDS="python python-kiwi python-serial zopeinterface"
claudinei@3834 9 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
claudinei@3834 10 SUGGESTED="stoq"
claudinei@3834 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@3834 12 WEB_SITE="http://www.stoq.com.br"
claudinei@3834 13 WGET_URL="http://download.stoq.com.br/sources/0.9.10/$TARBALL"
claudinei@3834 14
claudinei@3834 15 # Rules to configure and make the package.
claudinei@3834 16 compile_rules()
claudinei@3834 17 {
claudinei@3834 18 cd $src
claudinei@3834 19 python setup.py install --root=$PWD/_pkg
claudinei@3834 20 }
claudinei@3834 21
claudinei@3834 22 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3834 23 genpkg_rules()
claudinei@3834 24 {
claudinei@3834 25 LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
claudinei@3834 26 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3834 27 rm $file
claudinei@3834 28 done
claudinei@3834 29 mkdir -p $fs/usr/share/locale/pt
claudinei@3834 30 cp -a $_pkg/usr/lib $fs/usr
claudinei@3834 31 cp -a $_pkg/usr/share $fs/usr
claudinei@3834 32 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
claudinei@3834 33 }
claudinei@3834 34