wok view stoqlib/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents c4f226b02549
children 32a0c44693d5
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="http://www.stoq.com.br"
11 WGET_URL="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 }