LP1825851 Add Perl HTML::Defang dependency
[working/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         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         libpcre3\
58         libpcre3-dev\
59         libpq5\
60         libpq-dev\
61         librpc-xml-perl\
62         libsru-perl\
63         libssh2-1-dev\
64         libtemplate-plugin-posix-perl\
65         libtest-warn-perl\
66         libtest-output-perl\
67         libtext-aspell-perl\
68         libtext-csv-perl\
69         libuniversal-require-perl\
70         libunix-syslog-perl\
71         libyaz-dev\
72         postgresql-client-9.4\
73         libsoap-lite-perl\
74         libbz2-dev\
75         libparse-recdescent-perl\
76         libhtml-defang-perl\
77         yaz
78
79 export DEB_APACHE_MODS = \
80     expires\
81     include\
82     proxy\
83     proxy_http\
84     rewrite\
85     cgi\
86     perl\
87     remoteip
88
89 export DEB_APACHE_DISMODS = \
90     deflate
91
92 export DEB_APACHE_DISCONF = \
93     serve-cgi-bin
94
95 export CPAN_MODULES = \
96         Business::OnlinePayment::PayPal \
97         Email::Send
98
99 export CPAN_MODULES_FORCE = \
100         Business::Stripe \
101         Class::DBI::Frozen::301
102
103 PGSQL_SERVER_DEBS_94 = \
104         $(DEB_PGSQL_COMMON_MODS) \
105         postgresql-9.4 \
106         postgresql-contrib-9.4 \
107         postgresql-plperl-9.4 \
108         postgresql-server-dev-9.4
109
110 # note: some prereqs are repeated in the developer/packager 
111 # sections to support building Evergreen packages on servers
112 # where Evergreen and its prereqs are not installed.
113
114 DEVELOPER_DEBS = \
115         automake \
116         autoconf \
117         libtool
118
119 PACKAGER_DEBS = \
120         asciidoc \
121         source-highlight \
122         zip \
123         unzip \
124         nsis
125
126 TRANSLATOR_DEBS = \
127         translate-toolkit \
128         python-dev \
129         python-levenshtein \
130         python-polib \
131         python-setuptools \
132         python-simplejson \
133         python-lxml \
134         libtemplate-perl \
135         liblocale-maketext-lexicon-perl \
136         bzr
137
138 all:
139         make -f $(DIR)/Makefile.debian install_debs
140         make -f $(DIR)/Makefile.common install_cpan
141         make -f $(DIR)/Makefile.common install_cpan_force
142         make -f $(DIR)/Makefile.debian debian_sys_config
143
144 install_postgres_server:
145         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)"
146
147 # note: if/when grunt-cli is available as a
148 # package, use the packaged version instead.
149 install_developer:
150         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
151         make -f $(DIR)/Makefile.common install_nodejs_from_source
152
153 install_translator: install_developer
154         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
155
156 install_packager: install_developer install_translator
157         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
158
159 clean:
160         make -f $(DIR)/Makefile.common clean
161         make -f $(DIR)/Makefile.debian clean
162
163 # vim:noet:sw=4:ts=4: