# HG changeset patch # User Christophe Lincoln # Date 1244766388 -7200 # Node ID f3100f10d443255ef02d384b551364feb217ab6d # Parent 67863a5bedd0150c5196fcca6eefbaba5a881a57 Add: OpenERP Web client diff -r 67863a5bedd0 -r f3100f10d443 openerp-web/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openerp-web/receipt Fri Jun 12 02:26:28 2009 +0200 @@ -0,0 +1,47 @@ +# SliTaz package receipt. + +PACKAGE="openerp-web" +VERSION="5.0.1-0" +CATEGORY="office" +SHORT_DESC="Open source ERP web client." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://openerp.com/" +WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" +DEPENDS="matplotlib setuptools python-turbogears pil python pyxml pyparsing" +BUILD_DEPENDS="setuptools python-dev python pyxml python-turbogears" +CONFIG_FILES="/etc/openerp/openerp-web.conf" +# http://doc.openerp.com/install/linux/web/index.html + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications + cp -a stuff/etc $fs/ + cp -a $_pkg/usr/config/default.cfg $fs/etc/openerp/openerp-web.conf + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} + +# Pre and post install commands for Tazpkg. +post_install() +{ + #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" $1/etc/rcS.conf + [ -z "$1" ] && /etc/init.d/openerp-web start + cat <