]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.ubuntu-focal
lp1863252 toward geosort
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.ubuntu-focal
1 # install files for Ubuntu Bionic
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
16 export DEBS = \
17         $(DEB_PGSQL_COMMON_MODS) \
18         apache2-dev\
19         aspell\
20         aspell-en\
21         libapache2-mod-perl2\
22         libbusiness-creditcard-perl\
23         libbusiness-isbn-data-perl\
24         libbusiness-issn-perl\
25         libbusiness-onlinepayment-authorizenet-perl\
26         libbusiness-onlinepayment-payflowpro-perl\
27         libbusiness-onlinepayment-perl\
28         libdate-manip-perl\
29         libdatetime-format-builder-perl\
30         libdatetime-format-iso8601-perl\
31         libdatetime-format-mail-perl\
32         libdatetime-perl\
33         libdatetime-set-perl\
34         libdatetime-timezone-perl\
35         libdbd-pg-perl\
36         libdbd-pgsql\
37         libdbi-dev\
38         libdbi1\
39         libemail-simple-perl\
40         libemail-mime-perl\
41         libexcel-writer-xlsx-perl\
42         libgd-graph3d-perl\
43         liblocale-maketext-lexicon-perl\
44         liblog-log4perl-perl\
45         libncurses5-dev\
46         libnet-ip-perl\
47         libnet-ldap-perl \
48         libnet-server-perl\
49         libnet-ssh2-perl\
50         libnet-z3950-simpleserver-perl\
51         libnet-z3950-zoom-perl \
52         libnspr4-dev\
53         libole-storage-lite-perl\
54         libparent-perl\
55         libpq5\
56         libpq-dev\
57         libpcre3-dev\
58         librpc-xml-perl\
59         libsru-perl\
60         libssh2-1-dev\
61         libtemplate-plugin-posix-perl\
62         libtest-warn-perl\
63         libtest-output-perl\
64         libtext-aspell-perl\
65         libtext-csv-perl\
66         libuniversal-require-perl\
67         libunix-syslog-perl\
68         libyaz-dev\
69         postgresql-client-9.6\
70         libsoap-lite-perl\
71         libbz2-dev\
72         libparse-recdescent-perl\
73         libhtml-defang-perl\
74         libconfig-general-perl\
75         yaz
76
77 export DEB_APACHE_MODS = \
78     expires\
79     include\
80     proxy\
81     proxy_http\
82     rewrite\
83     cgi\
84     perl
85
86 export DEB_APACHE_DISMODS = \
87     deflate
88
89 export DEB_APACHE_DISCONF = \
90     serve-cgi-bin
91
92 export CPAN_MODULES = \
93         Geo::Coder::Free \
94         Geo::Coder::OSM \
95         Geo::Coder::Google \
96         Business::OnlinePayment::PayPal \
97         Email::Send \
98         MARC::Charset \
99         Net::Z3950::Simple2ZOOM \
100     Locale::Country
101
102 export CPAN_MODULES_FORCE = \
103         Business::Stripe \
104         Class::DBI::Frozen::301
105
106 export CPAN_MODULES_PGSQL = \
107         MARC::File::XML
108
109 PGSQL_APT_REPO_DEBS = \
110         wget \
111         ca-certificates
112
113 PGSQL_SERVER_DEBS_96 = \
114         $(DEB_PGSQL_COMMON_MODS) \
115         postgresql-9.6 \
116         postgresql-contrib-9.6 \
117         postgresql-plperl-9.6 \
118         postgresql-server-dev-9.6
119
120 PGSQL_SERVER_DEBS_10 = \
121         $(DEB_PGSQL_COMMON_MODS) \
122         postgresql-10 \
123         postgresql-contrib-10 \
124         postgresql-plperl-10 \
125         postgresql-server-dev-10
126
127 # note: some prereqs are repeated in the developer/packager 
128 # sections to support building Evergreen packages on servers
129 # where Evergreen and its prereqs are not installed.
130
131 DEVELOPER_DEBS = \
132         automake \
133         autoconf \
134         libtool \
135         chromium-browser \
136         firefox
137
138 PACKAGER_DEBS = \
139         asciidoc \
140         source-highlight \
141         zip \
142         unzip \
143         nsis
144
145 TRANSLATOR_DEBS = \
146         libtemplate-perl \
147         liblocale-maketext-lexicon-perl \
148         translate-toolkit \
149         python3-dev \
150         python3-levenshtein \
151         python3-polib \
152         python3-setuptools \
153         python3-simplejson \
154         python3-lxml \
155         bzr
156
157 all:
158         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
159         make -f $(DIR)/Makefile.debian debian_postgresql_repo
160         make -f $(DIR)/Makefile.debian install_debs
161         make -f $(DIR)/Makefile.common install_cpan
162         make -f $(DIR)/Makefile.common install_cpan_force
163         make -f $(DIR)/Makefile.common install_cpan_pgsql
164         make -f $(DIR)/Makefile.debian debian_sys_config
165
166 install_postgres_server:
167         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
168         make -f $(DIR)/Makefile.debian debian_postgresql_repo
169         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_96)"
170         make -f $(DIR)/Makefile.common install_cpan_pgsql
171
172 install_postgres_server_10:
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 DEBS="$(PGSQL_SERVER_DEBS_10)"
176         make -f $(DIR)/Makefile.common install_cpan_pgsql
177
178 # note: if/when grunt-cli is available as a
179 # package, use the packaged version instead.
180 install_developer:
181         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
182         make -f $(DIR)/Makefile.common install_nodejs_from_source
183
184 install_translator: install_developer
185         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
186
187 install_packager: install_developer install_translator
188         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
189
190 clean:
191         make -f $(DIR)/Makefile.common clean
192         make -f $(DIR)/Makefile.debian clean
193
194 # vim:noet:sw=4:ts=4: