wok view stoqdrivers/receipt @ rev 5951
linux-source: add Module.symvers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 03 18:22:45 2010 +0200 (2010-08-03) |
parents | 8fd13b11d5ed |
children | 00fefa6ebb77 |
line source
1 # SliTaz package receipt.
3 PACKAGE="stoqdrivers"
4 VERSION="0.9.8.2"
5 CATEGORY="development"
6 SHORT_DESC="Useful drivers for Stoq and retail systems"
7 MAINTAINER="claudinei@slitaz.org"
8 DEPENDS="python python-kiwi python-serial zopeinterface"
9 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface"
10 SUGGESTED="stoq"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.stoq.com.br"
13 WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 LOCALEDIR="$WOK/$PACKAGE/$PACKAGE-$VERSION/locale"
26 for file in `find $_pkg | grep 'pyc$'`; do
27 rm $file
28 done
29 mkdir -p $fs/usr/share/locale/pt
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share $fs/usr
32 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
33 }