wok-next view stoqdrivers/receipt @ rev 20433

mupdf: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 05 15:11:20 2018 +0100 (2018-02-05)
parents c4f226b02549
children a3254b6a96ac
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 LICENSE="LGPL2.1"
9 SUGGESTED="stoq"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.stoq.com.br"
12 WGET_URL="http://download.stoq.com.br/sources/0.9.11/$TARBALL"
14 DEPENDS="python python-kiwi python-serial zopeinterface"
15 BUILD_DEPENDS="python python-dev python-kiwi python-serial zopeinterface \
16 gettext-tools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 LOCALEDIR="$install/usr/share/locale"
28 for file in `find $install | grep 'pyc$'`; do
29 rm $file
30 done
31 mkdir -p $fs/usr/share/locale/pt
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share $fs/usr
34 cp -a $LOCALEDIR/pt_BR/LC_MESSAGES $fs/usr/share/locale/pt
35 }