mandriva2010.0.sh 1.05 KB
Newer Older
Łukasz Nowak's avatar
Łukasz Nowak committed
1 2
#!/bin/sh

3 4 5
USAGE="""\
Helper for buildout-base installation of ERP5 on Mandriva 2010.
 Usage:
6
   sh mandriva2010.0.sh [-h|-l]
7 8 9 10 11 12 13 14 15

   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="""\
Lucas Carvalho's avatar
Lucas Carvalho committed
16
automake
17 18 19 20 21
bison
cpio
flex
gcc
gcc-c++
22
gettext
23
groff
24
java-devel-gcj
Łukasz Nowak's avatar
Łukasz Nowak committed
25 26 27
libSDL-devel
libSDL_gfx-devel
libSDL_image-devel
Łukasz Nowak's avatar
Łukasz Nowak committed
28 29 30 31
libboost-devel
libbzip2-devel
libgdbm-devel
libglib2-devel
32
libgomp-devel
33
libjpeg-devel
34
libldap-devel
35
libncurses-devel
Łukasz Nowak's avatar
Łukasz Nowak committed
36
libneon0.27-devel
37
libopenssl-devel
38
libpng-devel
39
libreadline-devel
40
librsync-devel
41
libsasl2-devel
42
libtermcap-devel
43
libtiff-devel
44
libtool
45
libungif-devel
46 47 48 49
libxml2-devel
libxslt-devel
make
patch
Lucas Carvalho's avatar
Lucas Carvalho committed
50
python-devel
51
python-setuptools
52 53 54 55
rpm
subversion
subversion-devel
subversion-tools
56
tesseract-devel
57
x11-server-xvfb
58
zip
59
zlib1-devel\
Łukasz Nowak's avatar
Łukasz Nowak committed
60
"""
61
if [ x"$1" == x ]; then
62
  urpmi --no-suggests $PACKAGE_LIST
63 64 65 66 67 68 69 70
elif [ "$1" = "-l" ]; then
  echo "$PACKAGE_LIST"
elif [ "$1" = "-h" ]; then
  echo "$USAGE"
else
  echo "Unknown argument."
  echo "$USAGE"
fi