wok view stoqdrivers/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 5ea0ce1cecc0
children 7a500035d756
line source
1 # SliTaz package receipt.
3 PACKAGE="stoqdrivers"
4 VERSION="1.8.1"
5 CATEGORY="development"
6 SHORT_DESC="Useful drivers for Stoq and retail systems."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.stoq.com.br"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/stoq/$PACKAGE/archive/v$VERSION.tar.gz"
14 SUGGESTED="stoq"
15 DEPENDS="python python-kiwi python-serial zopeinterface"
16 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/locale/pt
35 LOCALEDIR="$install/usr/share/locale"
36 for file in `find $install | grep 'pyc$'`
37 do
38 rm $file
39 done
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share $fs/usr
42 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
43 }