wok-current view openerp-web/receipt @ rev 21437
updated micro_proxy (20021030 -> 20140814)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 27 16:25:25 2019 +0100 (2019-04-27) |
parents | 16df76e1fc6a |
children | 240fb3120638 |
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="pankso@slitaz.org"
8 LICENSE="MPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openerp.com/"
11 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
12 CONFIG_FILES="/etc/openerp/openerp-web.conf"
13 # http://doc.openerp.com/install/linux/web/index.html
15 DEPENDS="matplotlib setuptools python-turbogears python-pil python \
16 python-pyxml python-pyparsing python-babel python-mako python-markupsafe"
17 BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications
29 cp -a stuff/etc $fs/
30 cp -a $install/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" "$1/etc/rcS.conf"
39 [ -z "$1" ] && /etc/init.d/openerp-web start
40 cat <<EOF
41 ----
42 To start $PACKAGE server you can run :
44 /etc/init.d/openerp-web start
46 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
47 ----
48 EOF
49 }