]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.ubuntu-focal
LP1850156: Remove Browsers From *-developer Targets
[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         libgeo-coder-osm-perl\
44         liblocale-maketext-lexicon-perl\
45         liblog-log4perl-perl\
46         libncurses5-dev\
47         libnet-ip-perl\
48         libnet-ldap-perl \
49         libnet-server-perl\
50         libnet-ssh2-perl\
51         libnet-z3950-simpleserver-perl\
52         libnet-z3950-zoom-perl \
53         libnspr4-dev\
54         libole-storage-lite-perl\
55         libparent-perl\
56         libpq5\
57         libpq-dev\
58         libpcre3-dev\
59         librpc-xml-perl\
60         libsru-perl\
61         libssh2-1-dev\
62         libtemplate-plugin-posix-perl\
63         libtest-warn-perl\
64         libtest-output-perl\
65         libtext-aspell-perl\
66         libtext-csv-perl\
67         libuniversal-require-perl\
68         libunix-syslog-perl\
69         libyaz-dev\
70         postgresql-client-9.6\
71         libsoap-lite-perl\
72         libbz2-dev\
73         libparse-recdescent-perl\
74         libhtml-defang-perl\
75         libconfig-general-perl\
76         yaz
77
78 export DEB_APACHE_MODS = \
79     expires\
80     include\
81     proxy\
82     proxy_http\
83     rewrite\
84     cgi\
85     perl
86
87 export DEB_APACHE_DISMODS = \
88     deflate
89
90 export DEB_APACHE_DISCONF = \
91     serve-cgi-bin
92
93 export CPAN_MODULES = \
94         Geo::Coder::Google \
95         Business::OnlinePayment::PayPal \
96         Email::Send \
97         MARC::Charset \
98         Net::Z3950::Simple2ZOOM \
99     Locale::Country \
100         String::KeyboardDistance \
101         Text::Levenshtein::Damerau::XS
102
103 export CPAN_MODULES_FORCE = \
104         Business::Stripe \
105         Class::DBI::Frozen::301
106
107 export CPAN_MODULES_PGSQL = \
108         MARC::File::XML \
109         String::KeyboardDistance \
110         Text::Levenshtein::Damerau::XS
111
112 PGSQL_APT_REPO_DEBS = \
113         wget \
114         ca-certificates
115
116 PGSQL_SERVER_DEBS_96 = \
117         $(DEB_PGSQL_COMMON_MODS) \
118         postgresql-9.6 \
119         postgresql-contrib-9.6 \
120         postgresql-plperl-9.6 \
121         postgresql-server-dev-9.6
122
123 PGSQL_SERVER_DEBS_10 = \
124         $(DEB_PGSQL_COMMON_MODS) \
125         postgresql-10 \
126         postgresql-contrib-10 \
127         postgresql-plperl-10 \
128         postgresql-server-dev-10
129
130 # note: some prereqs are repeated in the developer/packager 
131 # sections to support building Evergreen packages on servers
132 # where Evergreen and its prereqs are not installed.
133
134 DEVELOPER_DEBS = \
135         automake \
136         autoconf \
137         libtool
138
139 PACKAGER_DEBS = \
140         asciidoc \
141         source-highlight \
142         zip \
143         unzip \
144         nsis
145
146 TRANSLATOR_DEBS = \
147         libtemplate-perl \
148         liblocale-maketext-lexicon-perl \
149         translate-toolkit \
150         python3-dev \
151         python3-levenshtein \
152         python3-polib \
153         python3-setuptools \
154         python3-simplejson \
155         python3-lxml \
156         bzr
157
158 all:
159         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
160         make -f $(DIR)/Makefile.debian debian_postgresql_repo
161         make -f $(DIR)/Makefile.debian install_debs
162         make -f $(DIR)/Makefile.common install_cpan
163         make -f $(DIR)/Makefile.common install_cpan_force
164         make -f $(DIR)/Makefile.common install_cpan_pgsql
165         make -f $(DIR)/Makefile.debian debian_sys_config
166
167 install_postgres_server:
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_96)"
171         make -f $(DIR)/Makefile.common install_cpan_pgsql
172
173 install_postgres_server_10:
174         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
175         make -f $(DIR)/Makefile.debian debian_postgresql_repo
176         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_10)"
177         make -f $(DIR)/Makefile.common install_cpan_pgsql
178
179 # note: if/when grunt-cli is available as a
180 # package, use the packaged version instead.
181 install_developer:
182         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
183         make -f $(DIR)/Makefile.common install_nodejs_from_source
184
185 install_translator: install_developer
186         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
187
188 install_packager: install_developer install_translator
189         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
190
191 clean:
192         make -f $(DIR)/Makefile.common clean
193         make -f $(DIR)/Makefile.debian clean
194
195 # vim:noet:sw=4:ts=4: