Commit e97e5fdb authored by Nicolas Dumazet's avatar Nicolas Dumazet

extend a bit the helper with options so we can reuse it in RPM generation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32934 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1072241f
#!/bin/sh #!/bin/sh
PACKAGE_LIST=""" USAGE="""\
bison Helper for buildout-base installation of ERP5 on Mandriva 2010.
cpio Usage:
flex mandriva2010.sh [-h|-l]
gcc
gcc-c++ With no options, attempts to install the dependencies required
libbzip2-devel to run the buildout.
libgdbm-devel
libglib2.0-devel Options:
libjpeg-devel -h shows this message
libncurses-devel -l lists the required dependencies\
libopenssl-devel """
libtermcap-devel PACKAGE_LIST="""\
libxml2-devel bison
libxslt-devel cpio
make flex
patch gcc
rpm gcc-c++
subversion libbzip2-devel
subversion-devel libgdbm-devel
subversion-tools libglib2.0-devel
x11-server-xvfb libjpeg-devel
zlib1-devel libncurses-devel
libopenssl-devel
libtermcap-devel
libxml2-devel
libxslt-devel
make
patch
rpm
subversion
subversion-devel
subversion-tools
x11-server-xvfb
zlib1-devel\
""" """
urpmi $PACKAGE_LIST if [ x"$1" == x ]; then
urpmi $PACKAGE_LIST
elif [ "$1" = "-l" ]; then
echo "$PACKAGE_LIST"
elif [ "$1" = "-h" ]; then
echo "$USAGE"
else
echo "Unknown argument."
echo "$USAGE"
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment