wok-current view openerp-web/receipt @ rev 11670
Up: youtube-dl to 2012.01.08b.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 17 14:36:38 2012 -0500 (2012-02-17) |
parents | 6d78034653dc |
children | 23c3aed67cd9 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://openerp.com/"
10 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
11 DEPENDS="matplotlib setuptools python-turbogears python-pil python \
12 python-pyxml python-pyparsing python-babel python-mako python-markupsafe"
13 BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears"
14 CONFIG_FILES="/etc/openerp/openerp-web.conf"
15 # http://doc.openerp.com/install/linux/web/index.html
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications
28 cp -a stuff/etc $fs/
29 cp -a $_pkg/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 }
34 # Pre and post install commands for Tazpkg.
35 post_install()
36 {
37 #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" $1/etc/rcS.conf
38 [ -z "$1" ] && /etc/init.d/openerp-web start
39 cat <<EOF
40 ----
41 To start $PACKAGE server you can run :
43 /etc/init.d/openerp-web start
45 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
46 ----
47 EOF
48 }