]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.debian-stretch
e1491d152298bca0cc55714b8a9804452d176cef
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.debian-stretch
1 # install files for Debian Stretch
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         libexcel-writer-xlsx-perl\
42         libgd-graph3d-perl\
43         liblocale-maketext-lexicon-perl\
44         liblog-log4perl-perl\
45         libmarc-charset-perl \
46         libncurses5-dev\
47         libnet-ip-perl\
48         libnet-ldap-perl \
49         libnet-server-perl\
50         libnet-ssh2-perl\
51         libnet-z3950-simple2zoom-perl\
52         libnet-z3950-simpleserver-perl\
53         libnet-z3950-zoom-perl \
54         libnspr4-dev\
55         libole-storage-lite-perl\
56         libparent-perl\
57         libpq5\
58         libpq-dev\
59         libpcre3-dev\
60         librpc-xml-perl\
61         libsru-perl\
62         libssh2-1-dev\
63         libtemplate-plugin-posix-perl\
64         libtest-warn-perl\
65         libtest-output-perl\
66         libtext-aspell-perl\
67         libtext-csv-perl\
68         libuniversal-require-perl\
69         libunix-syslog-perl\
70         libyaz-dev\
71         postgresql-client-9.6\
72         libsoap-lite-perl\
73         libbz2-dev\
74         libparse-recdescent-perl\
75         libhtml-defang-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     remoteip
87
88 export DEB_APACHE_DISMODS = \
89     deflate
90
91 export DEB_APACHE_DISCONF = \
92     serve-cgi-bin
93
94 export CPAN_MODULES = \
95         Business::OnlinePayment::PayPal \
96         Email::Send
97
98 export CPAN_MODULES_FORCE = \
99         Business::Stripe \
100         Class::DBI::Frozen::301
101
102 PGSQL_SERVER_DEBS_96 = \
103         $(DEB_PGSQL_COMMON_MODS) \
104         postgresql-9.6 \
105         postgresql-contrib-9.6 \
106         postgresql-plperl-9.6 \
107         postgresql-server-dev-9.6
108
109 PGSQL_SERVER_DEBS_10 = \
110         $(DEB_PGSQL_COMMON_MODS) \
111         postgresql-10 \
112         postgresql-contrib-10 \
113         postgresql-plperl-10 \
114         postgresql-server-dev-10
115
116 # note: some prereqs are repeated in the developer/packager 
117 # sections to support building Evergreen packages on servers
118 # where Evergreen and its prereqs are not installed.
119
120 DEVELOPER_DEBS = \
121         automake \
122         autoconf \
123         libtool \
124         chromium \
125         firefox-esr
126
127 PACKAGER_DEBS = \
128         asciidoc \
129         source-highlight \
130         zip \
131         unzip \
132         nsis
133
134 TRANSLATOR_DEBS = \
135         libtemplate-perl \
136         liblocale-maketext-lexicon-perl \
137         translate-toolkit \
138         python-dev \
139         python-levenshtein \
140         python-polib \
141         python-setuptools \
142         python-simplejson \
143         python-lxml \
144         bzr
145
146 all:
147         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
148         make -f $(DIR)/Makefile.debian debian_postgresql_repo
149         make -f $(DIR)/Makefile.debian install_debs
150         make -f $(DIR)/Makefile.common install_cpan
151         make -f $(DIR)/Makefile.common install_cpan_force
152         make -f $(DIR)/Makefile.debian debian_sys_config
153
154 install_postgres_server:
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 DEBS="$(PGSQL_SERVER_DEBS_96)"
158
159 install_postgres_server_10:
160         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
161         make -f $(DIR)/Makefile.debian debian_postgresql_repo
162         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_10)"
163
164 # note: if/when grunt-cli is available as a
165 # package, use the packaged version instead.
166 install_developer:
167         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
168         make -f $(DIR)/Makefile.common install_nodejs_from_source
169
170 install_translator: install_developer
171         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
172
173 install_packager: install_developer install_translator
174         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
175
176 clean:
177         make -f $(DIR)/Makefile.common clean
178         make -f $(DIR)/Makefile.debian clean
179
180 # vim:noet:sw=4:ts=4: