wok-next view stoqdrivers/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents cc633e7b15aa
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="stoqdrivers"
4 VERSION="0.9.8.2"
5 CATEGORY="development"
6 SHORT_DESC="Useful drivers for Stoq and retail systems"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 SUGGESTED="stoq"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.stoq.com.br"
12 WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL"
14 DEPENDS="python python-kiwi python-pyserial python-zope.interface"
15 BUILD_DEPENDS="python python-dev python-kiwi python-pyserial python-zope.interface \
16 gettext-tools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 LOCALEDIR="$install/usr/share/locale"
28 for file in `find $install | grep 'pyc$'`; do
29 rm $file
30 done
31 mkdir -p $fs/usr/share/locale/pt
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share $fs/usr
34 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
35 }