From 01055b8e5c0bb2a991342a2ac4a71aef4be78dce Mon Sep 17 00:00:00 2001 From: Lucas Carvalho <lucas@nexedi.com> Date: Tue, 18 May 2010 23:48:06 +0000 Subject: [PATCH] Added helper for fedora. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35441 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/helpers/fedora.sh | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100755 buildout/helpers/fedora.sh diff --git a/buildout/helpers/fedora.sh b/buildout/helpers/fedora.sh new file mode 100755 index 0000000000..4e7bc9788f --- /dev/null +++ b/buildout/helpers/fedora.sh @@ -0,0 +1,56 @@ +#!/bin/sh + +USAGE="""\ +Helper for buildout-base installation of ERP5 on OpenSUSE 11.2 + Usage: + opensuse.sh [-h|-l] + + With no options, attempts to install the dependencies required + to run the buildout. + + Options: + -h shows this message + -l lists the required dependencies\ +""" +PACKAGE_LIST="""\ +automake +bison +cpio +flex +gcc +gcc-c++ +groff +libzip-devel +gdbm-devel +glib2-devel +libjpeg-devel +ncurses-devel +neon-devel +openssl-devel +readline-devel +libgsasl-devel +libxml2-devel +libtool +libcom_err-devel +libxslt-devel +make +patch +python-devel +python-setuptools +rpm +subversion +subversion-devel +xorg-x11-server-devel +zip +zlib-devel\ +""" +if [ x"$1" == x ]; then + yum install $PACKAGE_LIST +elif [ "$1" = "-l" ]; then + echo "$PACKAGE_LIST" +elif [ "$1" = "-h" ]; then + echo "$USAGE" +else + echo "Unknown argument." + echo "$USAGE" +fi -- 2.30.9