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

shutdown: add simple shutdown wrapper script for other tool compatibility
author Nathan Neulinger <nneul@neulinger.org>
date Mon Sep 21 13:17:35 2015 +0000 (2015-09-21)
parents 00fefa6ebb77
children 2045eca96f37
rev   line source
claudinei@3834 1 # SliTaz package receipt.
claudinei@3834 2
claudinei@3834 3 PACKAGE="stoqdrivers"
claudinei@4687 4 VERSION="0.9.8.2"
claudinei@3834 5 CATEGORY="development"
claudinei@3834 6 SHORT_DESC="Useful drivers for Stoq and retail systems"
claudinei@3834 7 MAINTAINER="claudinei@slitaz.org"
pascal@15581 8 LICENSE="LGPL2.1"
claudinei@3834 9 SUGGESTED="stoq"
claudinei@3834 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@3834 11 WEB_SITE="http://www.stoq.com.br"
claudinei@4687 12 WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL"
claudinei@3834 13
pascal@15581 14 DEPENDS="python python-kiwi python-serial zopeinterface"
pascal@15581 15 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
pascal@15581 16
claudinei@3834 17 # Rules to configure and make the package.
claudinei@3834 18 compile_rules()
claudinei@3834 19 {
claudinei@3834 20 cd $src
gokhlayeh@8680 21 python setup.py install --root=$DESTDIR
claudinei@3834 22 }
claudinei@3834 23
claudinei@3834 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3834 25 genpkg_rules()
claudinei@3834 26 {
pascal@15581 27 LOCALEDIR="$install/usr/share/locale"
pascal@15581 28 for file in `find $install | grep 'pyc$'`; do
claudinei@3834 29 rm $file
claudinei@3834 30 done
claudinei@3834 31 mkdir -p $fs/usr/share/locale/pt
pascal@15581 32 cp -a $install/usr/lib $fs/usr
pascal@15581 33 cp -a $install/usr/share $fs/usr
claudinei@3834 34 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
claudinei@3834 35 }