wok-next view openerp-web/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents d5aab818505e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="openerp-web"
4 VERSION="5.0.14"
5 CATEGORY="office"
6 SHORT_DESC="Open source ERP web client"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MPL"
9 WEB_SITE="https://www.odoo.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" # FIXME
14 BUILD_DEPENDS="python-dev python python-pyxml python-turbogears"
16 compile_rules() {
17 python -B setup.py install --root=$install
18 }
20 genpkg_rules() {
21 mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications
22 cp -a $stuff/etc $fs/
23 cp -a $install/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf
24 cp -a $install/usr/bin $fs/usr
25 cp -a $install/usr/lib $fs/usr
26 DEPENDS="matplotlib python-turbogears python-pil python \
27 python-pyxml python-pyparsing python-babel python-mako python-markupsafe"
28 CONFIG_FILES="/etc/openerp/openerp-web.conf"
29 # http://doc.openerp.com/install/linux/web/index.html
30 }
32 post_install() {
33 #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" "$1/etc/rcS.conf"
34 [ -z "$1" ] && /etc/init.d/openerp-web start
36 [ -n "$quiet" ] || cat <<EOF
38 .----------------------------------------------------.
39 | To start openerp-web server you can run: |
40 | |
41 | /etc/init.d/openerp-web start |
42 | |
43 | or add openerp-web to RUN_DAEMONS in /etc/rcS.conf |
44 '----------------------------------------------------'
45 EOF
46 }