wok-current view openerp-server/receipt @ rev 20035
Add stm8flash
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 24 02:43:00 2017 +0200 (2017-08-24) |
parents | 16df76e1fc6a |
children | 505d1daeed6c |
line source
1 # SliTaz package receipt.
3 PACKAGE="openerp-server"
4 VERSION="5.0.1-0"
5 CATEGORY="office"
6 SHORT_DESC="Open source ERP server files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://openerp.com/"
11 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
13 DEPENDS="python postgresql libxml2-python libxslt psycopg2 python-reportlab \
14 python-pyparsing graphviz libgcrypt python-pil python-lxml matplotlib \
15 python-pyxml python-pychart python-pydot egenix-mx-base"
16 BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt-python python-reportlab \
17 python-pychart python-pydot python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/var/log/openerp
29 chmod 777 $fs/var/log/openerp
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $stuff/* $fs
33 sed -i 's|cd .*install|cd |' $fs/usr/bin/openerp-server
34 }
36 # Pre and post install commands for Tazpkg.
37 post_install()
38 {
39 #chroot "$1/" adduser -H -D -S -s /bin/false -h /dev/null -g "OpenERP Daemon user" openerp
40 [ "$1" ] || /etc/init.d/$PACKAGE start
41 cat <<EOF
42 ----
43 To start $PACKAGE server you can run :
45 /etc/init.d/$PACKAGE start
47 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
48 ----
49 EOF
50 }