wok-6.x view stoqlib/receipt @ rev 25122
Up apache (2.4.54)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 08:48:09 2022 +0000 (2022-06-28) |
parents | 32a0c44693d5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="stoqlib"
4 VERSION="0.9.12"
5 CATEGORY="development"
6 SHORT_DESC="A powerful retail system library"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20150919172113/http://www.stoq.com.br/"
11 WGET_URL="https://web.archive.org/web/20150907231324if_/http://download.stoq.com.br/sources/$VERSION/$TARBALL"
13 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
14 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
15 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
16 psycopg2 stoqdrivers python-pil python-reportlab python-dateutil"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/stoq/stoq/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 chmod +x setup.py
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 LOCALEDIR="$install/usr/share/locale"
37 for file in `find $install | grep 'pyc$'`; do
38 rm $file
39 done
40 mkdir -p $fs/usr/share/locale/pt
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/usr/share $fs/usr
43 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
44 }