wok-next view openerp-client/receipt @ rev 19645
Remove mesa-dri-ati, mesa-dri-intel, mesa-dri-nouveau, mesa-dri-vmwgfx -> mesa-dri. Split llvm. Up/add xorg apps and some other stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 03:43:01 2017 +0200 (2017-02-22) |
parents | 600aaedb561d |
children | de355b69ea82 |
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 }