wok diff openerp-server/receipt @ rev 3400
wpa_supplicant: remove -w invalid option
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 13:26:26 2009 +0200 (2009-06-12) |
parents | |
children | 983e91358a71 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openerp-server/receipt Fri Jun 12 13:26:26 2009 +0200 1.3 @@ -0,0 +1,49 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openerp-server" 1.7 +VERSION="5.0.1-0" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Open source ERP server files." 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="python postgresql libxml2-python libxslt psycopg2 reportlab \ 1.15 +pyparsing graphviz libgcrypt pil python-lxml matplotlib pyxml pychart \ 1.16 +pydot egenix-mx-base" 1.17 +BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt reportlab pychart \ 1.18 +pydot python-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + python setup.py install --root=$PWD/_pkg 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr $fs/var/run/openerp $fs/var/log/openerp 1.31 + chmod 777 $fs/var/run/openerp $fs/var/log/openerp 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 + cp -a $_pkg/usr/lib $fs/usr 1.34 + cp -a stuff/* $fs 1.35 + sed -i 's|cd .*_pkg|cd |' $fs/usr/bin/openerp-server 1.36 +} 1.37 + 1.38 +# Pre and post install commands for Tazpkg. 1.39 +post_install() 1.40 +{ 1.41 + #chroot $1/ adduser -H -D -S -s /bin/false -h /dev/null -g "OpenERP Daemon user" openerp 1.42 + [ -z "$1" ] && /etc/init.d/$PACKAGE start 1.43 + cat <<EOF 1.44 +---- 1.45 +To start $PACKAGE server you can run : 1.46 + 1.47 + /etc/init.d/$PACKAGE start 1.48 + 1.49 +Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf 1.50 +---- 1.51 +EOF 1.52 +}