]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.debian-stretch
LP1937294: Update Prerequisite Installation for PostgreSQL Server
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.debian-stretch
1 # install files for Debian Stretch
2
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
4
5 export DEB_PGSQL_COMMON_MODS = \
6         gcc \
7         libbusiness-isbn-perl \
8         libjson-xs-perl \
9         liblibrary-callnumber-lc-perl \
10         libmarc-record-perl \
11         libmarc-xml-perl \
12         librose-uri-perl \
13         libuuid-tiny-perl \
14         libxml-libxml-perl \
15         libxml-libxslt-perl
16
17 export DEBS = \
18         $(DEB_PGSQL_COMMON_MODS) \
19         apache2-dev\
20         aspell\
21         aspell-en\
22         libapache2-mod-perl2\
23         libbusiness-creditcard-perl\
24         libbusiness-isbn-data-perl\
25         libbusiness-issn-perl\
26         libbusiness-onlinepayment-authorizenet-perl\
27         libbusiness-onlinepayment-payflowpro-perl\
28         libbusiness-onlinepayment-perl\
29         libdate-manip-perl\
30         libdatetime-format-builder-perl\
31         libdatetime-format-iso8601-perl\
32         libdatetime-format-mail-perl\
33         libdatetime-perl\
34         libdatetime-set-perl\
35         libdatetime-timezone-perl\
36         libdbd-pg-perl\
37         libdbd-pgsql\
38         libdbi-dev\
39         libdbi1\
40         libemail-simple-perl\
41         libemail-mime-perl\
42         libexcel-writer-xlsx-perl\
43         libgd-graph3d-perl\
44         libgeo-coder-osm-perl\
45         liblocale-maketext-lexicon-perl\
46         liblog-log4perl-perl\
47         libmarc-charset-perl \
48         libncurses5-dev\
49         libnet-ip-perl\
50         libnet-ldap-perl \
51         libnet-server-perl\
52         libnet-ssh2-perl\
53         libnet-z3950-simple2zoom-perl\
54         libnet-z3950-simpleserver-perl\
55         libnet-z3950-zoom-perl \
56         libnspr4-dev\
57         libole-storage-lite-perl\
58         libparent-perl\
59         libpq5\
60         libpq-dev\
61         libpcre3-dev\
62         librpc-xml-perl\
63         libsru-perl\
64         libssh2-1-dev\
65         libtemplate-plugin-posix-perl\
66         libtest-warn-perl\
67         libtest-output-perl\
68         libtext-aspell-perl\
69         libtext-csv-perl\
70         libuniversal-require-perl\
71         libunix-syslog-perl\
72         libyaz-dev\
73         postgresql-client-14\
74         libsoap-lite-perl\
75         libbz2-dev\
76         libparse-recdescent-perl\
77         libhtml-defang-perl\
78         libconfig-general-perl\
79         yaz
80
81 export DEB_APACHE_MODS = \
82     expires\
83     headers\
84     include\
85     proxy\
86     proxy_http\
87     rewrite\
88     cgi\
89     perl\
90     remoteip
91
92 export DEB_APACHE_DISMODS = \
93     deflate
94
95 export DEB_APACHE_DISCONF = \
96     serve-cgi-bin
97
98 export CPAN_MODULES = \
99         Geo::Coder::Google \
100         Business::OnlinePayment::PayPal \
101         String::KeyboardDistance \
102         Text::Levenshtein::Damerau::XS \
103         Email::Send
104
105 export CPAN_MODULES_FORCE = \
106         Business::Stripe \
107         Class::DBI::Frozen::301
108
109 export CPAN_MODULES_PGSQL = \
110         String::KeyboardDistance \
111         Text::Levenshtein::Damerau::XS
112
113 PGSQL_SERVER_DEBS_10 = \
114         $(DEB_PGSQL_COMMON_MODS) \
115         postgresql-10 \
116         postgresql-plperl-10 \
117         postgresql-server-dev-10
118
119 PGSQL_SERVER_DEBS_11 = \
120         $(DEB_PGSQL_COMMON_MODS) \
121         postgresql-11 \
122         postgresql-plperl-11 \
123         postgresql-server-dev-11
124
125 PGSQL_SERVER_DEBS_12 = \
126         $(DEB_PGSQL_COMMON_MODS) \
127         postgresql-12 \
128         postgresql-plperl-12 \
129         postgresql-server-dev-12
130
131 PGSQL_SERVER_DEBS_13 = \
132         $(DEB_PGSQL_COMMON_MODS) \
133         postgresql-13 \
134         postgresql-plperl-13 \
135         postgresql-server-dev-13
136
137 PGSQL_SERVER_DEBS_14 = \
138         $(DEB_PGSQL_COMMON_MODS) \
139         postgresql-14 \
140         postgresql-plperl-14 \
141         postgresql-server-dev-14
142
143 # note: some prereqs are repeated in the developer/packager 
144 # sections to support building Evergreen packages on servers
145 # where Evergreen and its prereqs are not installed.
146
147 DEVELOPER_DEBS = \
148         automake \
149         autoconf \
150         libtool
151
152 PACKAGER_DEBS = \
153         asciidoc \
154         source-highlight \
155         zip \
156         unzip \
157         nsis
158
159 TRANSLATOR_DEBS = \
160         libtemplate-perl \
161         liblocale-maketext-lexicon-perl \
162         translate-toolkit \
163         python3-dev \
164         python3-levenshtein \
165         python3-polib \
166         python3-setuptools \
167         python3-simplejson \
168         python3-lxml \
169         bzr
170
171 all:
172         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
173         make -f $(DIR)/Makefile.debian debian_postgresql_repo
174         make -f $(DIR)/Makefile.debian install_debs
175         make -f $(DIR)/Makefile.common install_cpan
176         make -f $(DIR)/Makefile.common install_cpan_force
177         make -f $(DIR)/Makefile.debian debian_sys_config
178
179 install_postgres_server_10:
180         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
181         make -f $(DIR)/Makefile.debian debian_postgresql_repo
182         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_10)"
183         make -f $(DIR)/Makefile.common install_cpan_pgsql
184
185 install_postgres_server_11:
186         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
187         make -f $(DIR)/Makefile.debian debian_postgresql_repo
188         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_11)"
189         make -f $(DIR)/Makefile.common install_cpan_pgsql
190
191 install_postgres_server_12:
192         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
193         make -f $(DIR)/Makefile.debian debian_postgresql_repo
194         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_12)"
195         make -f $(DIR)/Makefile.common install_cpan_pgsql
196
197 install_postgres_server_13:
198         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
199         make -f $(DIR)/Makefile.debian debian_postgresql_repo
200         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_13)"
201         make -f $(DIR)/Makefile.common install_cpan_pgsql
202
203 install_postgres_server_14:
204         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
205         make -f $(DIR)/Makefile.debian debian_postgresql_repo
206         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_14)"
207         make -f $(DIR)/Makefile.common install_cpan_pgsql
208
209 # note: if/when grunt-cli is available as a
210 # package, use the packaged version instead.
211 install_developer:
212         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
213         make -f $(DIR)/Makefile.common install_nodejs_from_source
214
215 install_translator: install_developer
216         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
217
218 install_packager: install_developer install_translator
219         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
220
221 clean:
222         make -f $(DIR)/Makefile.common clean
223         make -f $(DIR)/Makefile.debian clean
224
225 # vim:noet:sw=4:ts=4: