]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.ubuntu-trusty
2f051a65258e4a5c43d899268f34ac8c7cb2f51a
[working/Evergreen.git] / Open-ILS / src / extras / install / Makefile.ubuntu-trusty
1 # install files for Ubuntu 14.04 LTS Trusty Tahr
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-edi-perl \
25         libbusiness-isbn-data-perl\
26         libbusiness-issn-perl\
27         libbusiness-onlinepayment-authorizenet-perl\
28         libbusiness-onlinepayment-payflowpro-perl\
29         libbusiness-onlinepayment-perl\
30         libdate-manip-perl\
31         libdatetime-format-builder-perl\
32         libdatetime-format-iso8601-perl\
33         libdatetime-format-mail-perl\
34         libdatetime-perl\
35         libdatetime-set-perl\
36         libdatetime-timezone-perl\
37         libdbd-pg-perl\
38         libdbd-pgsql \
39         libdbi-dev \
40         libemail-send-perl\
41         libemail-simple-perl\
42         libexcel-writer-xlsx-perl\
43         libgd-graph3d-perl\
44         liblocale-maketext-lexicon-perl\
45         liblog-log4perl-perl\
46         libmarc-charset-perl \
47         libncurses5-dev\
48         libnet-https-any-perl \
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         libbz2-dev \
59         libpq5\
60         libpq-dev\
61         librpc-xml-perl\
62         libsru-perl\
63         libssh2-1-dev\
64         libtemplate-plugin-posix-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         libtest-warn-perl\
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     perl
85
86 export DEB_APACHE_DISMODS = \
87     deflate
88
89 export DEB_APACHE_DISCONF = \
90     serve-cgi-bin
91
92 export CPAN_MODULES = \
93         Business::CreditCard::Object \
94         Business::OnlinePayment::PayPal \
95
96 export CPAN_MODULES_FORCE = \
97         Business::Stripe \
98         Class::DBI::Frozen::301
99
100 PGSQL_APT_REPO_DEBS = \
101         wget \
102         ca-certificates
103
104 PGSQL_SERVER_DEBS_94 = \
105         $(DEB_PGSQL_COMMON_MODS) \
106         postgresql-9.4 \
107         postgresql-contrib-9.4 \
108         postgresql-plperl-9.4 \
109         postgresql-server-dev-9.4
110
111 # note: some prereqs are repeated in the developer/packager 
112 # sections to support building Evergreen packages on servers
113 # where Evergreen and its prereqs are not installed.
114
115 DEVELOPER_DEBS = \
116         automake \
117         autoconf \
118         libtool
119
120 PACKAGER_DEBS = \
121         asciidoc \
122         source-highlight \
123         zip \
124         unzip \
125         nsis
126
127 TRANSLATOR_DEBS = \
128         libtemplate-perl \
129         liblocale-maketext-lexicon-perl \
130         translate-toolkit \
131         python-dev \
132         python-levenshtein \
133         python-polib \
134         python-setuptools \
135         python-simplejson \
136         python-lxml \
137         bzr
138
139 all:
140         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
141         make -f $(DIR)/Makefile.debian debian_postgresql_repo
142         make -f $(DIR)/Makefile.debian install_debs
143         make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
144         make -f $(DIR)/Makefile.common install_cpan
145         make -f $(DIR)/Makefile.common install_cpan_force
146         make -f $(DIR)/Makefile.debian debian_sys_config
147
148 install_postgres_server:
149         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)"
150
151 # note: if/when grunt-cli is available as a
152 # package, use the packaged version instead.
153 install_developer:
154         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
155         make -f $(DIR)/Makefile.common install_nodejs_from_source
156
157 install_translator: install_developer
158         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
159
160 install_packager: install_developer install_translator
161         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
162
163 clean:
164         make -f $(DIR)/Makefile.common clean
165         make -f $(DIR)/Makefile.debian clean
166
167 # vim:noet:sw=4:ts=4: