]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.ubuntu-bionic
Lp 1801163: Switch to Email::MIME in SendEmail A/T Reactor
[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         yaz
75
76 export DEB_APACHE_MODS = \
77     expires\
78     include\
79     proxy\
80     proxy_http\
81     rewrite\
82     cgi\
83     perl
84
85 export DEB_APACHE_DISMODS = \
86     deflate
87
88 export DEB_APACHE_DISCONF = \
89     serve-cgi-bin
90
91 export CPAN_MODULES = \
92         Business::OnlinePayment::PayPal \
93         Email::Send \
94         MARC::Charset \
95         Net::Z3950::Simple2ZOOM
96
97 export CPAN_MODULES_FORCE = \
98         Business::Stripe \
99         Class::DBI::Frozen::301
100
101 export CPAN_MODULES_PGSQL = \
102         MARC::File::XML
103
104 PGSQL_APT_REPO_DEBS = \
105         wget \
106         ca-certificates
107
108 PGSQL_SERVER_DEBS_96 = \
109         $(DEB_PGSQL_COMMON_MODS) \
110         postgresql-9.6 \
111         postgresql-contrib-9.6 \
112         postgresql-plperl-9.6 \
113         postgresql-server-dev-9.6
114
115 PGSQL_SERVER_DEBS_10 = \
116         $(DEB_PGSQL_COMMON_MODS) \
117         postgresql-10 \
118         postgresql-contrib-10 \
119         postgresql-plperl-10 \
120         postgresql-server-dev-10
121
122 # note: some prereqs are repeated in the developer/packager 
123 # sections to support building Evergreen packages on servers
124 # where Evergreen and its prereqs are not installed.
125
126 DEVELOPER_DEBS = \
127         automake \
128         autoconf \
129         libtool \
130         chromium-browser \
131         firefox
132
133 PACKAGER_DEBS = \
134         asciidoc \
135         source-highlight \
136         zip \
137         unzip \
138         nsis
139
140 TRANSLATOR_DEBS = \
141         libtemplate-perl \
142         liblocale-maketext-lexicon-perl \
143         translate-toolkit \
144         python-dev \
145         python-levenshtein \
146         python-polib \
147         python-setuptools \
148         python-simplejson \
149         python-lxml \
150         bzr
151
152 all:
153         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
154         make -f $(DIR)/Makefile.debian debian_postgresql_repo
155         make -f $(DIR)/Makefile.debian install_debs
156         make -f $(DIR)/Makefile.common install_cpan
157         make -f $(DIR)/Makefile.common install_cpan_force
158         make -f $(DIR)/Makefile.common install_cpan_pgsql
159         make -f $(DIR)/Makefile.debian debian_sys_config
160
161 install_postgres_server:
162         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
163         make -f $(DIR)/Makefile.debian debian_postgresql_repo
164         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_96)"
165         make -f $(DIR)/Makefile.common install_cpan_pgsql
166
167 install_postgres_server_10:
168         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
169         make -f $(DIR)/Makefile.debian debian_postgresql_repo
170         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_10)"
171         make -f $(DIR)/Makefile.common install_cpan_pgsql
172
173 # note: if/when grunt-cli is available as a
174 # package, use the packaged version instead.
175 install_developer:
176         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
177         make -f $(DIR)/Makefile.common install_nodejs_from_source
178
179 install_translator: install_developer
180         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
181
182 install_packager: install_developer install_translator
183         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
184
185 clean:
186         make -f $(DIR)/Makefile.common clean
187         make -f $(DIR)/Makefile.debian clean
188
189 # vim:noet:sw=4:ts=4: