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