]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.debian-buster
LP1850156: Remove Browsers From *-developer Targets
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.debian-buster
1 # install files for Debian Buster
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         libmarc-xml-perl \
12         librose-uri-perl \
13         libuuid-tiny-perl \
14         libxml-libxml-perl \
15         libxml-libxslt-perl
16
17 export DEBS = \
18         $(DEB_PGSQL_COMMON_MODS) \
19         apache2-dev\
20         aspell\
21         aspell-en\
22         libapache2-mod-perl2\
23         libbusiness-creditcard-perl\
24         libbusiness-isbn-data-perl\
25         libbusiness-issn-perl\
26         libbusiness-onlinepayment-authorizenet-perl\
27         libbusiness-onlinepayment-payflowpro-perl\
28         libbusiness-onlinepayment-perl\
29         libdate-manip-perl\
30         libdatetime-format-builder-perl\
31         libdatetime-format-iso8601-perl\
32         libdatetime-format-mail-perl\
33         libdatetime-perl\
34         libdatetime-set-perl\
35         libdatetime-timezone-perl\
36         libdbd-pg-perl\
37         libdbd-pgsql\
38         libdbi-dev\
39         libdbi1\
40         libemail-simple-perl\
41         libemail-mime-perl\
42         libexcel-writer-xlsx-perl\
43         libgd-graph3d-perl\
44         libgeo-coder-osm-perl\
45         liblocale-maketext-lexicon-perl\
46         liblog-log4perl-perl\
47         libmarc-charset-perl \
48         libncurses5-dev\
49         libnet-ip-perl\
50         libnet-ldap-perl \
51         libnet-server-perl\
52         libnet-ssh2-perl\
53         libnet-z3950-simple2zoom-perl\
54         libnet-z3950-simpleserver-perl\
55         libnet-z3950-zoom-perl \
56         libnspr4-dev\
57         libole-storage-lite-perl\
58         libparent-perl\
59         libpq5\
60         libpq-dev\
61         libpcre3-dev\
62         librpc-xml-perl\
63         libsru-perl\
64         libssh2-1-dev\
65         libtemplate-plugin-posix-perl\
66         libtest-warn-perl\
67         libtest-output-perl\
68         libtext-aspell-perl\
69         libtext-csv-perl\
70         libuniversal-require-perl\
71         libunix-syslog-perl\
72         libyaz-dev\
73         postgresql-client-9.6\
74         libsoap-lite-perl\
75         libbz2-dev\
76         libparse-recdescent-perl\
77         libhtml-defang-perl\
78         libconfig-general-perl\
79         yaz
80
81 export DEB_APACHE_MODS = \
82     expires\
83     include\
84     proxy\
85     proxy_http\
86     rewrite\
87     cgi\
88     perl\
89     remoteip
90
91 export DEB_APACHE_DISMODS = \
92     deflate
93
94 export DEB_APACHE_DISCONF = \
95     serve-cgi-bin
96
97 export CPAN_MODULES = \
98         Geo::Coder::Google \
99         Business::OnlinePayment::PayPal \
100         String::KeyboardDistance \
101         Text::Levenshtein::Damerau::XS \
102         Email::Send
103
104 export CPAN_MODULES_FORCE = \
105         Business::Stripe \
106         Class::DBI::Frozen::301
107
108 export CPAN_MODULES_PGSQL = \
109         String::KeyboardDistance \
110         Text::Levenshtein::Damerau::XS
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
135 PACKAGER_DEBS = \
136         asciidoc \
137         source-highlight \
138         zip \
139         unzip \
140         nsis
141
142 TRANSLATOR_DEBS = \
143         libtemplate-perl \
144         liblocale-maketext-lexicon-perl \
145         translate-toolkit \
146         python-dev \
147         python-levenshtein \
148         python-polib \
149         python-setuptools \
150         python-simplejson \
151         python-lxml \
152         bzr
153
154 all:
155         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
156         make -f $(DIR)/Makefile.debian debian_postgresql_repo
157         make -f $(DIR)/Makefile.debian install_debs
158         make -f $(DIR)/Makefile.common install_cpan
159         make -f $(DIR)/Makefile.common install_cpan_force
160         make -f $(DIR)/Makefile.debian debian_sys_config
161
162 install_postgres_server:
163         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
164         make -f $(DIR)/Makefile.debian debian_postgresql_repo
165         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_96)"
166         make -f $(DIR)/Makefile.common install_cpan_pgsql
167
168 install_postgres_server_10:
169         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
170         make -f $(DIR)/Makefile.debian debian_postgresql_repo
171         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_10)"
172         make -f $(DIR)/Makefile.common install_cpan_pgsql
173
174 # note: if/when grunt-cli is available as a
175 # package, use the packaged version instead.
176 install_developer:
177         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
178         make -f $(DIR)/Makefile.common install_nodejs_from_source
179
180 install_translator: install_developer
181         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
182
183 install_packager: install_developer install_translator
184         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
185
186 clean:
187         make -f $(DIR)/Makefile.common clean
188         make -f $(DIR)/Makefile.debian clean
189
190 # vim:noet:sw=4:ts=4: