wok view openerp-client/receipt @ rev 19201
Add gtkspell3
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 09 13:36:10 2016 +0300 (2016-06-09) |
parents | 600aaedb561d |
children | 8e17dd3d81ee |
line source
1 # SliTaz package receipt.
3 PACKAGE="openerp-client"
4 VERSION="5.0.1-0"
5 CATEGORY="office"
6 SHORT_DESC="Open source ERP client files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openerp.com/"
11 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
12 SUGGESTED="epdfview"
14 DEPENDS="postgresql-client python pygtk pygobject pycairo python-pyxml \
15 egenix-mx-base"
16 BUILD_DEPENDS="python python-dev pygtk egenix-mx-base"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed 's/^#.*//' < setup.py > setup2.py
22 python setup2.py build
23 python setup2.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/applications
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/pixmaps $fs/usr/share
33 cp -a $install/usr/share/openerp-client $fs/usr/share
34 cp -a $install/usr/share/locale $fs/usr/share
35 cp stuff/openerp-client.desktop $fs/usr/share/applications
36 sed -i 's|cd .*install|cd |' $fs/usr/bin/openerp-client
37 mkdir -p $fs/usr/share/openerp-client/pixmaps/
38 ln -s /usr/share/pixmaps/openerp-client/openerp_logo.png \
39 $fs/usr/share/openerp-client/pixmaps
40 }