wok annotate openerp-web/receipt @ rev 4844
apache-mod-perl: Update BUILD_DEPENDS.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 29 17:00:59 2010 +0100 (2010-01-29) |
parents | 6a5553dfb1be |
children | 09f07fb46c15 |
rev | line source |
---|---|
pankso@3380 | 1 # SliTaz package receipt. |
pankso@3380 | 2 |
pankso@3380 | 3 PACKAGE="openerp-web" |
pankso@3380 | 4 VERSION="5.0.1-0" |
pankso@3380 | 5 CATEGORY="office" |
pankso@3380 | 6 SHORT_DESC="Open source ERP web client." |
pankso@3380 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3380 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3380 | 9 WEB_SITE="http://openerp.com/" |
pankso@3380 | 10 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" |
claudinei@3415 | 11 DEPENDS="matplotlib setuptools python-turbogears python-pil python \ |
claudinei@3418 | 12 python-pyxml python-pyparsing" |
claudinei@3414 | 13 BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears" |
pankso@3380 | 14 CONFIG_FILES="/etc/openerp/openerp-web.conf" |
pankso@3380 | 15 # http://doc.openerp.com/install/linux/web/index.html |
pankso@3380 | 16 |
pankso@3380 | 17 # Rules to configure and make the package. |
pankso@3380 | 18 compile_rules() |
pankso@3380 | 19 { |
pankso@3380 | 20 cd $src |
pankso@3380 | 21 python setup.py install --root=$PWD/_pkg |
pankso@3380 | 22 } |
pankso@3380 | 23 |
pankso@3380 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3380 | 25 genpkg_rules() |
pankso@3380 | 26 { |
pankso@3380 | 27 mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications |
pankso@3380 | 28 cp -a stuff/etc $fs/ |
pankso@3380 | 29 cp -a $_pkg/usr/config/default.cfg $fs/etc/openerp/openerp-web.conf |
pankso@3380 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@3380 | 31 cp -a $_pkg/usr/lib $fs/usr |
pankso@3380 | 32 } |
pankso@3380 | 33 |
pankso@3380 | 34 # Pre and post install commands for Tazpkg. |
pankso@3380 | 35 post_install() |
pankso@3380 | 36 { |
pankso@3380 | 37 #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" $1/etc/rcS.conf |
pankso@3380 | 38 [ -z "$1" ] && /etc/init.d/openerp-web start |
pankso@3380 | 39 cat <<EOF |
pankso@3380 | 40 ---- |
pankso@3380 | 41 To start $PACKAGE server you can run : |
pankso@3380 | 42 |
pankso@3380 | 43 /etc/init.d/openerp-web start |
pankso@3380 | 44 |
pankso@3380 | 45 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf |
pankso@3380 | 46 ---- |
pankso@3380 | 47 EOF |
pankso@3380 | 48 } |