2 # --------------------------------------------------------------------
3 # Copyright (C) 2005 Georgia Public Library Service
4 # Bill Erickson <highfalutin@gmail.com>
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.
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 # --------------------------------------------------------------------
19 # --------------------------------------------------------------------
20 # Build targets. Options include:
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
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
34 # evergreen_all - builds all Evergreen components
35 # evergreen_xul_client - client XUL application
37 # When running the server components of OpenSRF/OpenILS, the simplest
38 # thing is to build 'opensrf' even if you
39 # don't use all of the components.
40 # Build marcdumper only if you need to convert MARC binary files to MARCXML.
41 # If you only want to build the client app, then just build evergreen_xul_client.
42 # --------------------------------------------------------------------
44 TARGETS=("opensrf_all" "openils_all" );
47 # --------------------------------------------------------------------
48 # Global install prefix. Binaries will be installed into PREFIX/bin,
49 # libraries will be installed into PERFIX/lib, etc. The user
50 # running 'install.sh install' must have write permissions to PREFIX
51 # --------------------------------------------------------------------
53 BINDIR="$PREFIX/bin/";
54 LIBDIR="$PREFIX/lib/";
55 PERLDIR="$LIBDIR/perl5/";
56 INCLUDEDIR="$PREFIX/include/";
57 ETCDIR="$PREFIX/etc/";
58 WEBDIR="$PREFIX/web/";
59 CGIDIR="$PREFIX/cgi-bin/";
60 TEMPLATEDIR="$PREFIX/templates";
63 # --------------------------------------------------------------------
64 # Temporary build files go here. The User running 'install.sh build'
65 # must have write permissions to TMP
66 # --------------------------------------------------------------------
70 # --------------------------------------------------------------------
71 # Location of the apxs binary for Apache2. This must be set when
72 # building the mod_ils_gateway C plugin for allowing web access
73 # to the published API.
74 # --------------------------------------------------------------------
75 APXS2="/pines/apps/apache2/bin/apxs";
78 # --------------------------------------------------------------------
79 # Directory where the Apache2 header files are located. This must
80 # be set when building the mod_ils_gateway C plugin for allowing web
81 # access to the published API.
82 # --------------------------------------------------------------------
83 APACHE2_HEADERS="/pines/apps/apache2/include/";
86 # --------------------------------------------------------------------
87 # Directory where the libxml2 headers are located. Libxml2 is used
88 # by various components
89 # --------------------------------------------------------------------
90 LIBXML2_HEADERS="/usr/include/libxml2/";
94 # --------------------------------------------------------------------
95 # These point to the top level makefiles for each of the sub
96 # projects. Only change these if you have relocated the directories.
97 # --------------------------------------------------------------------
98 OPENSRFDIR="OpenSRF/src/";
99 OPENILSDIR="Open-ILS/src/";
100 EVERGREENDIR="Evergreen/";
105 # --------------------------------------------------------------------
106 # These are used to create the perl DBI DSN for the bootstrapping
108 # --------------------------------------------------------------------