wok-next view stoqlib/receipt @ rev 20926
psycopg2 -> python-psycopg2; remove psycopg (unsupported)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 22 17:26:14 2018 +0300 (2018-08-22) |
parents | cd7906120828 |
children | c022997c7a57 |
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 WEB_SITE="http://www.stoq.com.br"
10 REPOLOGY="stoq"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
15 DEPENDS="python pygtk postgresql python-psycopg2 zopeinterface python-pil \
16 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
17 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
18 python-psycopg2 stoqdrivers python-pil python-reportlab python-dateutil gettext-tools"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 chmod +x setup.py
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 LOCALEDIR="$install/usr/share/locale"
31 for file in `find $install | grep 'pyc$'`; do
32 rm $file
33 done
34 mkdir -p $fs/usr/share/locale/pt
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/share $fs/usr
37 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
38 }