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