wok-6.x view openerp-server/receipt @ rev 3379
Add: python-paste*
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 02:25:10 2009 +0200 (2009-06-12) |
parents | |
children | 983e91358a71 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://openerp.com/"
10 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL"
11 DEPENDS="python postgresql libxml2-python libxslt psycopg2 reportlab \
12 pyparsing graphviz libgcrypt pil python-lxml matplotlib pyxml pychart \
13 pydot egenix-mx-base"
14 BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt reportlab pychart \
15 pydot python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/var/run/openerp $fs/var/log/openerp
28 chmod 777 $fs/var/run/openerp $fs/var/log/openerp
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a stuff/* $fs
32 sed -i 's|cd .*_pkg|cd |' $fs/usr/bin/openerp-server
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 #chroot $1/ adduser -H -D -S -s /bin/false -h /dev/null -g "OpenERP Daemon user" openerp
39 [ -z "$1" ] && /etc/init.d/$PACKAGE start
40 cat <<EOF
41 ----
42 To start $PACKAGE server you can run :
44 /etc/init.d/$PACKAGE start
46 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
47 ----
48 EOF
49 }