wok diff openerp-web/receipt @ rev 3380

Add: OpenERP Web client
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 12 02:26:28 2009 +0200 (2009-06-12)
parents
children 28c34e01f8c6
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openerp-web/receipt	Fri Jun 12 02:26:28 2009 +0200
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openerp-web"
     1.7 +VERSION="5.0.1-0"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Open source ERP web client."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://openerp.com/"
    1.13 +WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
    1.14 +DEPENDS="matplotlib setuptools python-turbogears pil python pyxml pyparsing"
    1.15 +BUILD_DEPENDS="setuptools python-dev python pyxml python-turbogears"
    1.16 +CONFIG_FILES="/etc/openerp/openerp-web.conf"
    1.17 +# http://doc.openerp.com/install/linux/web/index.html
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	python setup.py install --root=$PWD/_pkg
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications
    1.30 +	cp -a stuff/etc $fs/
    1.31 +	cp -a $_pkg/usr/config/default.cfg $fs/etc/openerp/openerp-web.conf
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/lib $fs/usr
    1.34 +}
    1.35 +
    1.36 +# Pre and post install commands for Tazpkg.
    1.37 +post_install()
    1.38 +{
    1.39 +	#sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" $1/etc/rcS.conf 
    1.40 +	[ -z "$1" ] && /etc/init.d/openerp-web start
    1.41 +	cat <<EOF
    1.42 +----
    1.43 +To start $PACKAGE server you can run :
    1.44 +
    1.45 +    /etc/init.d/openerp-web start
    1.46 +
    1.47 +Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
    1.48 +----
    1.49 +EOF
    1.50 +}