wok-6.x view openerp-web/receipt @ rev 24799

updated libical and libical-dev (3.0.8 -> 3.0.14)
author Hans-G?nter Theisgen
date Mon Mar 21 17:34:22 2022 +0100 (2022-03-21)
parents 9e01bc6321ea
children 505d1daeed6c
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 python-turbogears python-pil python \
16 python-pyxml python-pyparsing python-babel python-mako python-markupsafe"
17 BUILD_DEPENDS="python-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 }