wok-current view stoqdrivers/receipt @ rev 25160
updated py3k-cython (0.29.13 -> 0.29.30)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 09:49:47 2022 +0100 (2022-07-01) |
parents | ac8ca9758df1 |
children |
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="https://web.archive.org/web/20150919172113/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 }