wok view stoqdrivers/receipt @ rev 24081
php-auth-pam: remove patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 09 16:30:40 2021 +0000 (2021-07-09) |
parents | 2045eca96f37 |
children | ac8ca9758df1 |
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*}/releases 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 }