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