Farewell to the long-deprecated Django administration interface
[Evergreen.git] / configoptions.sh
1 #!/bin/bash
2
3 echo "------------------------------------------"
4 echo "Options selector for Open-ILS configure"
5 echo "------------------------------------------"
6 echo " "
7 echo "Install Open-ILS ALL? (y/n) "
8 read X; 
9 if [ $X == "y" ] ; then 
10 TARGS=${TARGS}" --enable-openils-all"
11 fi
12 echo "Install Open-ILS CORE? (y/n) "
13 read X; 
14 if [ $X == "n" ] ; then 
15 TARGS=${TARGS}" --disable-openils-core" 
16 fi
17 echo "Install Open-ILS WEB? (y/n) "
18 read X;
19 if [ $X == "n" ] ; then 
20 TARGS=${TARGS}" --disable-openils-web" 
21 fi
22 echo "Install Open-ILS DB? (y/n) "
23 read X;
24 if [ $X == "n" ] ; then
25 TARGS=${TARGS}" --disable-openils-db"
26 fi
27 echo "Install Open-ILS MARCDUMPER? (y/n) "
28 read X;
29 if [ $X == "y" ] ; then
30 TARGS=${TARGS}" --enable-openils-marcdumper"
31 fi
32 echo "Install Open-ILS REPORTER? (y/n) "
33 read X;
34 if [ $X == "y" ] ; then
35 TARGS=${TARGS}" --enable-openils-reporter"
36 elseif [ $X == "n" ] ; then
37 TARGS=${TARGS}" --disable-openils-reporter"
38 fi
39 echo "Install Open-ILS XUL CLIENT? (y/n) "
40 read X;
41 if [ $X == "y" ] ; then
42 TARGS=${TARGS}" --enable-openils-client-xul"
43 fi
44 echo "Install Open-ILS XUL SERVER? (y/n) "
45 read X;
46 if [ $X == "y" ] ; then
47 TARGS=${TARGS}" --enable-openils-server-xul"
48 elseif [ $X == "n" ] ; then
49 TARGS=${TARGS}" --disable-openils-server-xul"
50 fi
51 echo "Install EVERGREEN CORE? (y/n) "
52 read X;
53 if [ $X == "y" ] ; then
54 TARGS=${TARGS}" --enable-evergreen-core"
55 fi
56 echo "Install EVERGREEN XUL CLIENT? (y/n) "
57 read X;
58 if [ $X == "y" ] ; then
59 TARGS=${TARGS}" --enable-evergreen-xul-client"
60 fi
61
62
63 echo ${TARGS}
64 ./configure --with-dbver=81 --with-dbuser=evergreen --with-dbpw=evergreen ${TARGS}
65 make
66 sudo make install
67