]> git.evergreen-ils.org Git - Evergreen.git/blob - install.conf.default
falling back to existing is_true method
[Evergreen.git] / install.conf.default
1 #!/bin/bash
2 # --------------------------------------------------------------------
3 # Copyright (C) 2005  Georgia Public Library Service 
4 # Bill Erickson <highfalutin@gmail.com>
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 # --------------------------------------------------------------------
16
17
18 # --------------------------------------------------------------------
19 # Build targets.  Options include:
20
21 # openils_all                   - builds all OpenILS compenents
22 # openils_core                  - install the Open-ILS perl modules, and core files for running and openils server
23 # openils_web                   - copies over the javascript and html templates to the web root directory for running the OPAC
24 # openils_db                    - installs the database schemas 
25 # openils_reporter              - installs the base of OpenILS Reporter
26 #
27 # evergreen_core                - builds core Evergreen components (does not build evergreen_xul_client!)
28 # evergreen_xul_client   - client XUL application
29 #
30 # If you only want to build the client app, then just build evergreen_xul_client.
31 # --------------------------------------------------------------------
32
33 TARGETS=("openils_core" "openils_web" "openils_db");
34
35
36 # --------------------------------------------------------------------
37 # Should we build the Evergreen Python modules?
38 # These depend on having the setuptools module installed.
39 # --------------------------------------------------------------------
40 EG_PYTHON_INSTALL="N"
41
42 # --------------------------------------------------------------------
43 # Global install prefix.  Binaries will be installed into PREFIX/bin,
44 # libraries will be installed into PREFIX/lib, etc.  The user 
45 # running 'install.sh install' must have write permissions to PREFIX
46 # --------------------------------------------------------------------
47 PREFIX="/openils/";
48 BINDIR="$PREFIX/bin/";
49 LIBDIR="$PREFIX/lib/";
50 PERLDIR="$LIBDIR/perl5/";
51 INCLUDEDIR="$PREFIX/include/";
52 ETCDIR="$PREFIX/etc/";
53 WEBDIR="$PREFIX/web/";
54 CGIDIR="$PREFIX/cgi-bin/";
55 TEMPLATEDIR="$PREFIX/templates";
56
57
58 # --------------------------------------------------------------------
59 # Temporary build files go here.  The User running 'install.sh build'
60 # must have write permissions to TMP
61 # --------------------------------------------------------------------
62 TMP="/tmp/ilstmp/";
63
64
65 # --------------------------------------------------------------------
66 # Location of the apxs binary for Apache2.  This must be set when
67 # building the mod_ils_gateway C plugin for allowing web access
68 # to the published API.
69 # --------------------------------------------------------------------
70
71 APXS2="/usr/bin/apxs2";
72
73
74 # --------------------------------------------------------------------
75 # Directories where the Apache2 header files are located.  These must 
76 # be set when building the mod_ils_gateway C plugin for allowing web 
77 # access to the published API.
78 # --------------------------------------------------------------------
79 APACHE2_HEADERS="/usr/include/apache2";
80 APR_HEADERS="/usr/include/apr-1.0/";
81
82
83 # --------------------------------------------------------------------
84 # Directory where the libdbi libraries are located. libdbi is used
85 # by the OpenILS cstore, fetch, and rstore applications
86 # --------------------------------------------------------------------
87 DBI_LIBS="/usr/local/lib/dbd";
88
89 # --------------------------------------------------------------------
90 # Directory where the libxml2 headers are located.  Libxml2 is used
91 # by various components
92 # --------------------------------------------------------------------
93 LIBXML2_HEADERS="/usr/include/libxml2/";
94
95
96 # --------------------------------------------------------------------
97 # Directories where the OpenSRF headers and libraries are located.
98 # You must build and install OpenSRF before OpenILS.
99 # --------------------------------------------------------------------
100 OPENSRF_HEADERS="/openils/include/"
101 OPENSRF_LIBS="/openils/lib/"
102
103
104 # --------------------------------------------------------------------
105 # These point to the top level makefiles for each of the sub 
106 # projects.  Only change these if you have relocated the directories.
107 # --------------------------------------------------------------------
108 OPENILSDIR="Open-ILS/src/";
109 EVERGREENDIR="Evergreen/";
110
111
112
113
114 # --------------------------------------------------------------------
115 # These are used to create the perl DBI DSN for the bootstrapping
116 # scripts.
117 # --------------------------------------------------------------------
118 DBDRVR="Pg";
119 DBHOST="127.0.0.1";
120 DBPORT="5432";
121 DBNAME="evergreen";
122 DBUSER="postgres";
123 DBPW="postgres";
124