wok-4.x view stoqlib/receipt @ rev 12210
syslinux: add md5sum.c32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 31 14:27:35 2012 +0200 (2012-03-31) |
parents | 822e03f5288d |
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 DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \
9 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil"
10 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \
11 psycopg2 stoqdrivers python-pil python-reportlab python-dateutil"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.stoq.com.br"
14 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 chmod +x setup.py
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 LOCALEDIR="$_pkg/usr/share/locale"
28 for file in `find $_pkg | grep 'pyc$'`; do
29 rm $file
30 done
31 mkdir -p $fs/usr/share/locale/pt
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
35 }