]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.debian-wheezy
0a200d581077843a8e9152360061a7eb567d0edd
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.debian-wheezy
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         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         libemail-send-perl\
38         libemail-simple-perl\
39         libgd-graph3d-perl\
40         liblocale-maketext-lexicon-perl\
41         liblog-log4perl-perl\
42         libmarc-charset-perl \
43         libncurses5-dev\
44         libnet-ip-perl\
45         libnet-ldap-perl \
46         libnet-server-perl\
47         libnet-ssh2-perl\
48         libnet-z3950-simple2zoom-perl\
49         libnet-z3950-simpleserver-perl\
50         libnet-z3950-zoom-perl \
51         libnspr4-dev\
52         libole-storage-lite-perl\
53         libparent-perl\
54         libpq5\
55         libpq-dev\
56         librpc-xml-perl\
57         libsru-perl\
58         libssh2-1-dev\
59         libtest-warn-perl\
60         libtest-output-perl\
61         libtext-aspell-perl\
62         libtext-csv-perl\
63         libuniversal-require-perl\
64         libunix-syslog-perl\
65         libyaz-dev\
66         postgresql-client-9.4\
67         libsoap-lite-perl\
68         libbz2-dev\
69         libparse-recdescent-perl\
70         libexcel-writer-xlsx-perl\
71         yaz
72
73 export DEB_APACHE_MODS = \
74     expires\
75     include\
76     proxy\
77     proxy_http\
78     rewrite\
79     cgi\
80     perl
81
82 export DEB_APACHE_DISMODS = \
83     deflate
84
85 export CPAN_MODULES = \
86         Business::OnlinePayment::PayPal \
87         Template::Plugin::POSIX \
88
89 export CPAN_MODULES_FORCE = \
90         Business::Stripe \
91         Class::DBI::Frozen::301
92
93 PGSQL_APT_REPO_DEBS = \
94     wget \
95     ca-certificates
96
97 PGSQL_SERVER_DEBS_94 = \
98     $(DEB_PGSQL_COMMON_MODS) \
99     postgresql-9.4 \
100     postgresql-contrib-9.4 \
101     postgresql-plperl-9.4 \
102     postgresql-server-dev-9.4
103
104 # note: some prereqs are repeated in the developer/packager 
105 # sections to support building Evergreen packages on servers
106 # where Evergreen and its prereqs are not installed.
107
108 DEVELOPER_DEBS = \
109         automake \
110         autoconf \
111         libtool 
112
113 PACKAGER_DEBS = \
114         asciidoc \
115         source-highlight \
116         zip \
117         unzip \
118         nsis
119
120 TRANSLATOR_DEBS = \
121         translate-toolkit \
122         python-dev \
123         python-levenshtein \
124         python-polib \
125         python-setuptools \
126         python-simplejson \
127         python-lxml \
128         libtemplate-perl \
129         liblocale-maketext-lexicon-perl \
130         bzr
131
132 all:
133         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
134         make -f $(DIR)/Makefile.debian debian_postgresql_repo
135         make -f $(DIR)/Makefile.debian install_debs
136         make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
137         make -f $(DIR)/Makefile.common install_cpan
138         make -f $(DIR)/Makefile.common install_cpan_force
139         make -f $(DIR)/Makefile.common install_libdbi
140         make -f $(DIR)/Makefile.debian debian_sys_config
141
142 install_postgres_server:
143         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)"
144
145 install_developer:
146         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
147         make -f $(DIR)/Makefile.common install_nodejs_from_source
148
149 install_translator: install_developer
150         make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
151
152 install_packager: install_developer install_translator
153         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
154
155 clean:
156         make -f $(DIR)/Makefile.common clean
157         make -f $(DIR)/Makefile.debian clean
158
159 # vim:noet:sw=4:ts=4: