]> git.evergreen-ils.org Git - Evergreen.git/blob - install.conf.default
adding interlocks to protect against multiple runs -- only protects one machine!
[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 # --------------------------------------------------------------------
20 # Build targets.  Options include:
21
22 # opensrf_all           - builds all OpenSRF compenents
23 # opensrf_jserver - custom 'single-domain' jabber server which may be used in place of jabberd2
24 # opensrf_router  - jabber router.  
25 # opensrf_gateway - mod_ils_gateway, Apache module for proxying API calls
26 # opensrf_srfsh   - diagnostic shell interface to OpenSRF
27 # opensrf_core          - install the OpenSRF perl modules and core files for running opensrf
28 #
29 # openils_all                   - builds all OpenILS compenents
30 # openils_core                  - install the Open-ILS perl modules, and core files for running and openils server
31 # openils_web                   - copies over the javascript and html templates to the web root directory for running the OPAC
32 # openils_marcdumper - utility code for converting MARC to MARCXML
33 # openils_db                    - installs the database schemas 
34 # openils_reporter              - installs the base of OpenILS Reporter
35 #
36 # evergreen_cor         - builds core Evergreen components (does not build evergreen_xul_client!)
37 # evergreen_xul_client   - client XUL application
38 #
39 # When running the server components of OpenSRF/OpenILS, the simplest
40 # thing is to build 'opensrf' even if you 
41 # don't use all of the components.  
42 # Build marcdumper only if you need to convert MARC binary files to MARCXML.  
43 # If you only want to build the client app, then just build evergreen_xul_client.
44 # --------------------------------------------------------------------
45
46 TARGETS=("opensrf_all" "openils_all" "evergreen_core");
47
48
49 # --------------------------------------------------------------------
50 # Global install prefix.  Binaries will be installed into PREFIX/bin,
51 # libraries will be installed into PERFIX/lib, etc.  The user 
52 # running 'install.sh install' must have write permissions to PREFIX
53 # --------------------------------------------------------------------
54 PREFIX="/openils/";
55 BINDIR="$PREFIX/bin/";
56 LIBDIR="$PREFIX/lib/";
57 PERLDIR="$LIBDIR/perl5/";
58 INCLUDEDIR="$PREFIX/include/";
59 ETCDIR="$PREFIX/etc/";
60 WEBDIR="$PREFIX/web/";
61 CGIDIR="$PREFIX/cgi-bin/";
62 TEMPLATEDIR="$PREFIX/templates";
63
64
65 # --------------------------------------------------------------------
66 # Temporary build files go here.  The User running 'install.sh build'
67 # must have write permissions to TMP
68 # --------------------------------------------------------------------
69 TMP="/tmp/ilstmp/";
70
71
72 # --------------------------------------------------------------------
73 # Location of the apxs binary for Apache2.  This must be set when
74 # building the mod_ils_gateway C plugin for allowing web access
75 # to the published API.
76 # --------------------------------------------------------------------
77
78 APXS2="/opt/bin/apxs"; 
79
80
81 # --------------------------------------------------------------------
82 # Directories where the Apache2 header files are located.  These must 
83 # be set when building the mod_ils_gateway C plugin for allowing web 
84 # access to the published API.
85 # --------------------------------------------------------------------
86 APACHE2_HEADERS="/opt/include/";
87 APR_HEADERS="/opt/include/";
88
89
90 # --------------------------------------------------------------------
91 # Directory where the libxml2 headers are located.  Libxml2 is used
92 # by various components
93 # --------------------------------------------------------------------
94 LIBXML2_HEADERS="/usr/include/libxml2/";
95
96
97
98 # --------------------------------------------------------------------
99 # These point to the top level makefiles for each of the sub 
100 # projects.  Only change these if you have relocated the directories.
101 # --------------------------------------------------------------------
102 OPENSRFDIR="OpenSRF/src/";
103 OPENILSDIR="Open-ILS/src/";
104 EVERGREENDIR="Evergreen/";
105
106
107
108
109 # --------------------------------------------------------------------
110 # These are used to create the perl DBI DSN for the bootstrapping
111 # scripts.
112 # --------------------------------------------------------------------
113 DBDRVR="Pg";
114 DBHOST="127.0.0.1";
115 DBPORT="5432";
116 DBNAME="demo-dev";
117 DBUSER="postgres";
118 DBPW="";
119