wok view openerp-web/receipt @ rev 17112

tzdata: up (2014g).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 02 00:45:04 2014 +0300 (2014-09-02)
parents b7f5000cceb9
children 16df76e1fc6a
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 cd $src
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications
30 cp -a stuff/etc $fs/
31 cp -a $install/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 }
36 # Pre and post install commands for Tazpkg.
37 post_install()
38 {
39 #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" $1/etc/rcS.conf
40 [ -z "$1" ] && /etc/init.d/openerp-web start
41 cat <<EOF
42 ----
43 To start $PACKAGE server you can run :
45 /etc/init.d/openerp-web start
47 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
48 ----
49 EOF
50 }