wok-4.x diff openerp-web/receipt @ rev 12269

openerp: some path fixes and use custom openerp-server wrapper script
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 27 13:47:15 2012 +0200 (2012-04-27)
parents b7f5000cceb9
children 21314cf70e7d
line diff
     1.1 --- a/openerp-web/receipt	Mon May 02 15:56:46 2011 +0200
     1.2 +++ b/openerp-web/receipt	Fri Apr 27 13:47:15 2012 +0200
     1.3 @@ -8,24 +8,26 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://openerp.com/"
     1.6  WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
     1.7 +CONFIG_FILES="/etc/openerp/openerp-web.conf"
     1.8 +# http://doc.openerp.com/install/linux/web/index.html
     1.9 +
    1.10  DEPENDS="matplotlib setuptools python-turbogears python-pil python \
    1.11  python-pyxml python-pyparsing python-babel python-mako python-markupsafe"
    1.12 -BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears"
    1.13 -CONFIG_FILES="/etc/openerp/openerp-web.conf"
    1.14 -# http://doc.openerp.com/install/linux/web/index.html
    1.15 +BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears\
    1.16 +python-beaker"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22 -	python setup.py install --root=$PWD/_pkg
    1.23 +	python setup.py install --root=$DESTDIR
    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 $stuff/etc $fs/
    1.32  	cp -a $_pkg/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf
    1.33  	cp -a $_pkg/usr/bin $fs/usr
    1.34  	cp -a $_pkg/usr/lib $fs/usr