LP#1563531: add libpcre3/libpcre3-dev deps for Jessie
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.debian-jessie
1 # install files for Debian Wheezy
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         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\
28         libdate-manip-perl\
29         libdatetime-format-builder-perl\
30         libdatetime-format-iso8601-perl\
31         libdatetime-format-mail-perl\
32         libdatetime-perl\
33         libdatetime-set-perl\
34         libdatetime-timezone-perl\
35         libdbd-pg-perl\
36         libdbd-pgsql\
37         libdbi-dev\
38         libdbi1\
39         libemail-simple-perl\
40         libexcel-writer-xlsx-perl\
41         libgd-graph3d-perl\
42         liblocale-maketext-lexicon-perl\
43         liblog-log4perl-perl\
44         libmarc-charset-perl \
45         libncurses5-dev\
46         libnet-ip-perl\
47         libnet-ldap-perl \
48         libnet-server-perl\
49         libnet-ssh2-perl\
50         libnet-z3950-simple2zoom-perl\
51         libnet-z3950-simpleserver-perl\
52         libnet-z3950-zoom-perl \
53         libnspr4-dev\
54         libole-storage-lite-perl\
55         libparent-perl\
56         libpcre3\
57         libpcre3-dev\
58         libpq5\
59         libpq-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.4\
72         libsoap-lite-perl\
73         libbz2-dev\
74         libparse-recdescent-perl\
75         yaz
76
77 export DEB_APACHE_MODS = \
78     expires\
79     include\
80     proxy\
81     proxy_http\
82     rewrite\
83     cgi
84
85 export DEB_APACHE_DISMODS = \
86     deflate
87
88 export CPAN_MODULES = \
89         Business::OnlinePayment::PayPal \
90         Email::Send
91
92 export CPAN_MODULES_FORCE = \
93         Business::Stripe \
94         Class::DBI::Frozen::301
95
96 PGSQL_SERVER_DEBS_94 = \
97         $(DEB_PGSQL_COMMON_MODS) \
98         postgresql-9.4 \
99         postgresql-contrib-9.4 \
100         postgresql-plperl-9.4 \
101         postgresql-server-dev-9.4
102
103 # note: some prereqs are repeated in the developer/packager 
104 # sections to support building Evergreen packages on servers
105 # where Evergreen and its prereqs are not installed.
106
107 # nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs
108 # which is needed by our npm-installed packages
109 DEVELOPER_DEBS = \
110         automake \
111         autoconf \
112         libtool \
113         nodejs-legacy \
114         npm
115
116 PACKAGER_DEBS = \
117         libtemplate-perl \
118         liblocale-maketext-lexicon-perl \
119         asciidoc \
120         source-highlight \
121         translate-toolkit \
122         python-dev \
123         python-levenshtein \
124         python-polib \
125         python-setuptools \
126         python-simplejson \
127         python-lxml \
128         zip \
129         unzip \
130         bzr \
131         nsis
132
133 all:
134         make -f $(DIR)/Makefile.debian install_debs
135         make -f $(DIR)/Makefile.common install_cpan
136         make -f $(DIR)/Makefile.common install_cpan_force
137         make -f $(DIR)/Makefile.debian debian_sys_config
138
139 install_postgres_server:
140         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)"
141
142 # note: if/when grunt-cli and bower are available as 
143 # packages, use the packaged versions instead.
144 install_developer:
145         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
146         npm update
147         npm install -g grunt-cli
148         npm install -g bower
149
150 install_packager: install_developer
151         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
152
153 clean:
154         make -f $(DIR)/Makefile.common clean
155         make -f $(DIR)/Makefile.debian clean
156
157 # vim:noet:sw=4:ts=4: