# SliTaz package receipt. PACKAGE="openerp-web" VERSION="5.0.14" CATEGORY="office" SHORT_DESC="Open source ERP web client." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://openerp.com/" WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" CONFIG_FILES="/etc/openerp/openerp-web.conf" # http://doc.openerp.com/install/linux/web/index.html DEPENDS="matplotlib setuptools python-turbogears python-pil python \ python-pyxml python-pyparsing python-babel python-mako python-markupsafe" BUILD_DEPENDS="setuptools python-dev python python-pyxml python-turbogears \ python-beaker" # Rules to configure and make the package. compile_rules() { cd $src python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $fs/etc/openerp $fs/usr/share/applications cp -a $stuff/etc $fs/ cp -a $_pkg/usr/config/openerp-web.cfg $fs/etc/openerp/openerp-web.conf cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr } # Pre and post install commands for Tazpkg. post_install() { #sed -i "s/^RUN_DAEMONS=\"/RUN_DAEMONS=\"openerp-web /" $1/etc/rcS.conf [ -z "$1" ] && /etc/init.d/openerp-web start cat <