wok view stoqlib/receipt @ rev 24142
linux-aufs: git checkout problem ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 15 08:46:59 2021 +0000 (2021-11-15) |
parents | 00fefa6ebb77 |
children | b7f1bd1b9ac7 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 chmod +x setup.py
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 LOCALEDIR="$install/usr/share/locale"
30 for file in `find $install | grep 'pyc$'`; do
31 rm $file
32 done
33 mkdir -p $fs/usr/share/locale/pt
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share $fs/usr
36 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
37 }