wok view stoqdrivers/receipt @ rev 20007
Add: description.txt and links revision.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Wed Aug 02 12:34:36 2017 -0300 (2017-08-02) |
parents | 00fefa6ebb77 |
children | 2045eca96f37 |
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-serial zopeinterface"
15 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 }