]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.debian-buster
LP#1729620 Cleanup, fix bugs
[working/Evergreen.git] / Open-ILS / src / extras / install / Makefile.debian-buster
1 # install files for Debian Buster
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         libhttp-oai-perl\
46         liblocale-maketext-lexicon-perl\
47         liblog-log4perl-perl\
48         libmarc-charset-perl \
49         libncurses5-dev\
50         libnet-ip-perl\
51         libnet-ldap-perl \
52         libnet-server-perl\
53         libnet-ssh2-perl\
54         libnet-z3950-simple2zoom-perl\
55         libnet-z3950-simpleserver-perl\
56         libnet-z3950-zoom-perl \
57         libnspr4-dev\
58         libole-storage-lite-perl\
59         libparent-perl\
60         libpq5\
61         libpq-dev\
62         libpcre3-dev\
63         librpc-xml-perl\
64         libsru-perl\
65         libssh2-1-dev\
66         libtemplate-plugin-posix-perl\
67         libtest-warn-perl\
68         libtest-output-perl\
69         libtext-aspell-perl\
70         libtext-csv-perl\
71         libuniversal-require-perl\
72         libunix-syslog-perl\
73         libyaz-dev\
74         postgresql-client-14\
75         libsoap-lite-perl\
76         libbz2-dev\
77         libparse-recdescent-perl\
78         libhtml-defang-perl\
79         libconfig-general-perl\
80         yaz
81
82 export DEB_APACHE_MODS = \
83     expires\
84     headers\
85     include\
86     proxy\
87     proxy_http\
88     rewrite\
89     cgi\
90     perl\
91     remoteip
92
93 export DEB_APACHE_DISMODS = \
94     deflate
95
96 export DEB_APACHE_DISCONF = \
97     serve-cgi-bin
98
99 export CPAN_MODULES = \
100         Geo::Coder::Google \
101         Business::OnlinePayment::PayPal \
102         String::KeyboardDistance \
103         Text::Levenshtein::Damerau::XS \
104         Email::Send
105
106 export CPAN_MODULES_FORCE = \
107         Business::Stripe \
108         Class::DBI::Frozen::301
109
110 export CPAN_MODULES_PGSQL = \
111         String::KeyboardDistance \
112         Text::Levenshtein::Damerau::XS
113
114 PGSQL_SERVER_DEBS_10 = \
115         $(DEB_PGSQL_COMMON_MODS) \
116         postgresql-10 \
117         postgresql-plperl-10 \
118         postgresql-server-dev-10
119
120 PGSQL_SERVER_DEBS_11 = \
121         $(DEB_PGSQL_COMMON_MODS) \
122         postgresql-11 \
123         postgresql-plperl-11 \
124         postgresql-server-dev-11
125
126 PGSQL_SERVER_DEBS_12 = \
127         $(DEB_PGSQL_COMMON_MODS) \
128         postgresql-12 \
129         postgresql-plperl-12 \
130         postgresql-server-dev-12
131
132 PGSQL_SERVER_DEBS_13 = \
133         $(DEB_PGSQL_COMMON_MODS) \
134         postgresql-13 \
135         postgresql-plperl-13 \
136         postgresql-server-dev-13
137
138 PGSQL_SERVER_DEBS_14 = \
139         $(DEB_PGSQL_COMMON_MODS) \
140         postgresql-14 \
141         postgresql-plperl-14 \
142         postgresql-server-dev-14
143
144 # note: some prereqs are repeated in the developer/packager 
145 # sections to support building Evergreen packages on servers
146 # where Evergreen and its prereqs are not installed.
147
148 DEVELOPER_DEBS = \
149         automake \
150         autoconf \
151         libtool
152
153 PACKAGER_DEBS = \
154         asciidoc \
155         source-highlight \
156         zip \
157         unzip \
158         nsis
159
160 TRANSLATOR_DEBS = \
161         libtemplate-perl \
162         liblocale-maketext-lexicon-perl \
163         translate-toolkit \
164         python3-dev \
165         python3-levenshtein \
166         python3-polib \
167         python3-setuptools \
168         python3-simplejson \
169         python3-lxml \
170         bzr
171
172 all:
173         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
174         make -f $(DIR)/Makefile.debian debian_postgresql_repo
175         make -f $(DIR)/Makefile.debian install_debs
176         make -f $(DIR)/Makefile.common install_cpan
177         make -f $(DIR)/Makefile.common install_cpan_force
178         make -f $(DIR)/Makefile.debian debian_sys_config
179
180 install_postgres_server_10:
181         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
182         make -f $(DIR)/Makefile.debian debian_postgresql_repo
183         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_10)"
184         make -f $(DIR)/Makefile.common install_cpan_pgsql
185
186 install_postgres_server_11:
187         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
188         make -f $(DIR)/Makefile.debian debian_postgresql_repo
189         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_11)"
190         make -f $(DIR)/Makefile.common install_cpan_pgsql
191
192 install_postgres_server_12:
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 DEBS="$(PGSQL_SERVER_DEBS_12)"
196         make -f $(DIR)/Makefile.common install_cpan_pgsql
197
198 install_postgres_server_13:
199         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
200         make -f $(DIR)/Makefile.debian debian_postgresql_repo
201         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_13)"
202         make -f $(DIR)/Makefile.common install_cpan_pgsql
203
204 install_postgres_server_14:
205         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
206         make -f $(DIR)/Makefile.debian debian_postgresql_repo
207         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_14)"
208         make -f $(DIR)/Makefile.common install_cpan_pgsql
209
210 # note: if/when grunt-cli is available as a
211 # package, use the packaged version instead.
212 install_developer:
213         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
214         make -f $(DIR)/Makefile.common install_nodejs_from_source
215
216 install_translator: install_developer
217         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
218
219 install_packager: install_developer install_translator
220         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
221
222 clean:
223         make -f $(DIR)/Makefile.common clean
224         make -f $(DIR)/Makefile.debian clean
225
226 # vim:noet:sw=4:ts=4: