![.](loader.gif)
Receipt for package "openerp-server"
# SliTaz package receipt. PACKAGE="openerp-server" VERSION="5.0.1-0" CATEGORY="office" SHORT_DESC="Open source ERP server files." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://openerp.com/" WGET_URL="https://nightly.odoo.com/old/openerp-${VERSION%.*}/$TARBALL" DEPENDS="python postgresql libxml2-python libxslt psycopg2 python-reportlab \ python-pyparsing graphviz libgcrypt python-pil python-lxml matplotlib \ python-pyxml python-pychart python-pydot egenix-mx-base" BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt-python python-reportlab \ python-pychart python-pydot python-dev" # What is the latest version available today? current_version() { local a=$(wget -O - https://nightly.odoo.com/old/ 2>/dev/null | \ sed '/openerp-/!d;s|.*="||;s|/".*||' | sort -Vr | sed q) local b=$(wget -O - https://nightly.odoo.com/old/$a/ 2>/dev/null | \ sed '/href="[0-9]/!d;s|.*="||;s|/".*||' | sort -Vr | sed q) wget -O - https://nightly.odoo.com/old/$a/$b/ 2>/dev/null | \ sed '/openerp-client/d;/tar/!d;s|.*erp-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $fs/var/log/openerp chmod 777 $fs/var/log/openerp cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib $fs/usr cp -a $stuff/* $fs sed -i 's|cd .*install|cd |' $fs/usr/bin/openerp-server } # Pre and post install commands for Tazpkg. post_install() { #chroot "$1/" adduser -H -D -S -s /bin/false -h /dev/null -g "OpenERP Daemon user" openerp [ "$1" ] || /etc/init.d/$PACKAGE start cat <<EOF ---- To start $PACKAGE server you can run : /etc/init.d/$PACKAGE start Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf ---- EOF }
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)