]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.ubuntu-bionic
lp1863252 toward geosort
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.ubuntu-bionic
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
101 export CPAN_MODULES_FORCE = \
102         Business::Stripe \
103         Class::DBI::Frozen::301
104
105 export CPAN_MODULES_PGSQL = \
106         MARC::File::XML
107
108 PGSQL_APT_REPO_DEBS = \
109         wget \
110         ca-certificates
111
112 PGSQL_SERVER_DEBS_96 = \
113         $(DEB_PGSQL_COMMON_MODS) \
114         postgresql-9.6 \
115         postgresql-contrib-9.6 \
116         postgresql-plperl-9.6 \
117         postgresql-server-dev-9.6
118
119 PGSQL_SERVER_DEBS_10 = \
120         $(DEB_PGSQL_COMMON_MODS) \
121         postgresql-10 \
122         postgresql-contrib-10 \
123         postgresql-plperl-10 \
124         postgresql-server-dev-10
125
126 # note: some prereqs are repeated in the developer/packager 
127 # sections to support building Evergreen packages on servers
128 # where Evergreen and its prereqs are not installed.
129
130 DEVELOPER_DEBS = \
131         automake \
132         autoconf \
133         libtool \
134         chromium-browser \
135         firefox
136
137 PACKAGER_DEBS = \
138         asciidoc \
139         source-highlight \
140         zip \
141         unzip \
142         nsis
143
144 TRANSLATOR_DEBS = \
145         libtemplate-perl \
146         liblocale-maketext-lexicon-perl \
147         translate-toolkit \
148         python-dev \
149         python-levenshtein \
150         python-polib \
151         python-setuptools \
152         python-simplejson \
153         python-lxml \
154         bzr
155
156 all:
157         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
158         make -f $(DIR)/Makefile.debian debian_postgresql_repo
159         make -f $(DIR)/Makefile.debian install_debs
160         make -f $(DIR)/Makefile.common install_cpan
161         make -f $(DIR)/Makefile.common install_cpan_force
162         make -f $(DIR)/Makefile.common install_cpan_pgsql
163         make -f $(DIR)/Makefile.debian debian_sys_config
164
165 install_postgres_server:
166         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
167         make -f $(DIR)/Makefile.debian debian_postgresql_repo
168         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_96)"
169         make -f $(DIR)/Makefile.common install_cpan_pgsql
170
171 install_postgres_server_10:
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 DEBS="$(PGSQL_SERVER_DEBS_10)"
175         make -f $(DIR)/Makefile.common install_cpan_pgsql
176
177 # note: if/when grunt-cli is available as a
178 # package, use the packaged version instead.
179 install_developer:
180         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
181         make -f $(DIR)/Makefile.common install_nodejs_from_source
182
183 install_translator: install_developer
184         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
185
186 install_packager: install_developer install_translator
187         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
188
189 clean:
190         make -f $(DIR)/Makefile.common clean
191         make -f $(DIR)/Makefile.debian clean
192
193 # vim:noet:sw=4:ts=4: