wok-next view openerp-client/receipt @ rev 21071

Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 13 00:46:54 2018 +0200 (2018-12-13)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openerp-client"
4 VERSION="5.0.1-0"
5 CATEGORY="office"
6 SHORT_DESC="Open source ERP client files"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.odoo.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
14 BUILD_DEPENDS="python python-dev python-pygtk python-egenix-mx-base"
16 compile_rules() {
17 sed 's/^#.*//' < setup.py > setup2.py
18 python -B setup2.py build
19 python -B setup2.py install --root=$install
20 }
22 genpkg_rules() {
23 mkdir -p $fs/usr/share/applications
24 cp -a $install/usr/bin $fs/usr
25 cp -a $install/usr/lib $fs/usr
26 cp -a $install/usr/share/pixmaps $fs/usr/share
27 cp -a $install/usr/share/openerp-client $fs/usr/share
28 cp -a $install/usr/share/locale $fs/usr/share
29 cp $stuff/openerp-client.desktop $fs/usr/share/applications
30 sed -i 's|cd .*install|cd |' $fs/usr/bin/openerp-client
31 mkdir -p $fs/usr/share/openerp-client/pixmaps/
32 ln -s /usr/share/pixmaps/openerp-client/openerp_logo.png \
33 $fs/usr/share/openerp-client/pixmaps
34 DEPENDS="postgresql-client python python-pygtk python-pygobject2 \
35 python-pycairo python-pyxml python-egenix-mx-base"
36 SUGGESTED="epdfview"
37 }