wok-next diff openerp-server/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | 019246ad2f42 |
children | d457c4e37c1b |
line diff
1.1 --- a/openerp-server/receipt Wed Sep 26 00:03:58 2018 +0300 1.2 +++ b/openerp-server/receipt Fri Nov 09 09:48:29 2018 +0200 1.3 @@ -1,50 +1,48 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="openerp-server" 1.8 VERSION="5.0.1-0" 1.9 CATEGORY="office" 1.10 -SHORT_DESC="Open source ERP server files." 1.11 -MAINTAINER="pankso@slitaz.org" 1.12 +SHORT_DESC="Open source ERP server files" 1.13 +MAINTAINER="devel@slitaz.org" 1.14 LICENSE="GPL3" 1.15 +WEB_SITE="http://openerp.com/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://openerp.com/" 1.19 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" 1.20 1.21 -DEPENDS="python postgresql libxml2-python libxslt python-psycopg2 python-reportlab \ 1.22 -python-pyparsing graphviz libgcrypt python-pil python-lxml matplotlib \ 1.23 -python-pyxml python-pychart python-pydot python-egenix-mx-base" 1.24 -BUILD_DEPENDS="libxml2-python python-psycopg2 libxml2 libxslt-python python-reportlab \ 1.25 -python-pychart python-pydot python-dev" 1.26 +BUILD_DEPENDS="libxml2-python python-psycopg2 libxml2 libxslt-python \ 1.27 +python-reportlab python-pychart python-pydot python-dev" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - python setup.py install --root=$DESTDIR 1.33 +compile_rules() { 1.34 + python -B setup.py install --root=$install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 +genpkg_rules() { 1.41 mkdir -p $fs/usr $fs/var/log/openerp 1.42 chmod 777 $fs/var/log/openerp 1.43 cp -a $install/usr/bin $fs/usr 1.44 cp -a $install/usr/lib $fs/usr 1.45 cp -a $stuff/* $fs 1.46 sed -i 's|cd .*install|cd |' $fs/usr/bin/openerp-server 1.47 + DEPENDS="python postgresql libxml2-python libxslt python-psycopg2 \ 1.48 + python-reportlab python-pyparsing graphviz libgcrypt python-pil \ 1.49 + python-lxml matplotlib python-pyxml python-pychart python-pydot \ 1.50 + python-egenix-mx-base" 1.51 } 1.52 1.53 -# Pre and post install commands for Tazpkg. 1.54 -post_install() 1.55 -{ 1.56 +post_install() { 1.57 #chroot "$1/" adduser -H -D -S -s /bin/false -h /dev/null -g "OpenERP Daemon user" openerp 1.58 [ "$1" ] || /etc/init.d/$PACKAGE start 1.59 - cat <<EOF 1.60 ----- 1.61 -To start $PACKAGE server you can run : 1.62 1.63 - /etc/init.d/$PACKAGE start 1.64 + [ -n "$quiet" ] ||cat <<EOF 1.65 1.66 -Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf 1.67 ----- 1.68 + .-------------------------------------------------------. 1.69 + | To start openerp server you can run: | 1.70 + | | 1.71 + | /etc/init.d/openerp-server start | 1.72 + | | 1.73 + | or add openerp-server to RUN_DAEMONS in /etc/rcS.conf | 1.74 + '-------------------------------------------------------' 1.75 EOF 1.76 }