1 # install files for Ubuntu Bionic
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
5 export DEB_PGSQL_COMMON_MODS = \
7 libbusiness-isbn-perl \
9 liblibrary-callnumber-lc-perl \
17 $(DEB_PGSQL_COMMON_MODS) \
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\
29 libdatetime-format-builder-perl\
30 libdatetime-format-iso8601-perl\
31 libdatetime-format-mail-perl\
34 libdatetime-timezone-perl\
41 libexcel-writer-xlsx-perl\
43 libgeo-coder-osm-perl\
44 liblocale-maketext-lexicon-perl\
51 libnet-z3950-simpleserver-perl\
52 libnet-z3950-zoom-perl \
54 libole-storage-lite-perl\
62 libtemplate-plugin-posix-perl\
67 libuniversal-require-perl\
70 postgresql-client-9.6\
73 libparse-recdescent-perl\
75 libconfig-general-perl\
78 export DEB_APACHE_MODS = \
87 export DEB_APACHE_DISMODS = \
90 export DEB_APACHE_DISCONF = \
93 export CPAN_MODULES = \
95 Business::OnlinePayment::PayPal \
98 Net::Z3950::Simple2ZOOM \
100 String::KeyboardDistance \
101 Text::Levenshtein::Damerau::XS
103 export CPAN_MODULES_FORCE = \
105 Class::DBI::Frozen::301
107 export CPAN_MODULES_PGSQL = \
109 String::KeyboardDistance \
110 Text::Levenshtein::Damerau::XS
112 PGSQL_APT_REPO_DEBS = \
116 PGSQL_SERVER_DEBS_96 = \
117 $(DEB_PGSQL_COMMON_MODS) \
119 postgresql-contrib-9.6 \
120 postgresql-plperl-9.6 \
121 postgresql-server-dev-9.6
123 PGSQL_SERVER_DEBS_10 = \
124 $(DEB_PGSQL_COMMON_MODS) \
126 postgresql-contrib-10 \
127 postgresql-plperl-10 \
128 postgresql-server-dev-10
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.
148 liblocale-maketext-lexicon-perl \
151 python3-levenshtein \
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
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
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
179 # note: if/when grunt-cli is available as a
180 # package, use the packaged version instead.
182 make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
183 make -f $(DIR)/Makefile.common install_nodejs_from_source
185 install_translator: install_developer
186 make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
188 install_packager: install_developer install_translator
189 make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
192 make -f $(DIR)/Makefile.common clean
193 make -f $(DIR)/Makefile.debian clean
195 # vim:noet:sw=4:ts=4: