]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.debian-wheezy
59bf75a4298422301beee108b39ca2712e0f74a9
[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-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         libemail-send-perl\
37         libemail-simple-perl\
38         libgd-graph3d-perl\
39         liblocale-maketext-lexicon-perl\
40         liblog-log4perl-perl\
41         libmarc-charset-perl \
42         libncurses5-dev\
43         libnet-ip-perl\
44         libnet-ldap-perl \
45         libnet-server-perl\
46         libnet-ssh2-perl\
47         libnet-z3950-simple2zoom-perl\
48         libnet-z3950-simpleserver-perl\
49         libnet-z3950-zoom-perl \
50         libnspr4-dev\
51         libole-storage-lite-perl\
52         libparent-perl\
53         libpq5\
54         libpq-dev\
55         librpc-xml-perl\
56         libsru-perl\
57         libssh2-1-dev\
58         libtest-warn-perl\
59         libtest-output-perl\
60         libtext-aspell-perl\
61         libtext-csv-perl\
62         libuniversal-require-perl\
63         libunix-syslog-perl\
64         libyaz-dev\
65         postgresql-client-9.1\
66         libsoap-lite-perl\
67         libbz2-dev\
68         libparse-recdescent-perl\
69         yaz
70
71 export DEB_APACHE_MODS = \
72     expires\
73     include\
74     proxy\
75     proxy_http\
76     rewrite
77
78 export DEB_APACHE_DISMODS = \
79     deflate
80
81 export CPAN_MODULES = \
82         Excel::Writer::XLSX \
83         Business::OnlinePayment::PayPal \
84         Template::Plugin::POSIX \
85
86 export CPAN_MODULES_FORCE = \
87         Business::Stripe \
88         Class::DBI::Frozen::301
89
90 PGSQL_SERVER_DEBS_91 = \
91         $(DEB_PGSQL_COMMON_MODS) \
92         postgresql-9.1 \
93         postgresql-contrib-9.1 \
94         postgresql-plperl-9.1 \
95         postgresql-server-dev-9.1
96
97 # note: some prereqs are repeated in the developer/packager 
98 # sections to support building Evergreen packages on servers
99 # where Evergreen and its prereqs are not installed.
100
101 DEVELOPER_DEBS = \
102         automake \
103         autoconf \
104         libtool 
105
106 PACKAGER_DEBS = \
107         libtemplate-perl \
108         liblocale-maketext-lexicon-perl \
109         asciidoc \
110         source-highlight \
111         translate-toolkit \
112         python-dev \
113         python-levenshtein \
114         python-polib \
115         python-setuptools \
116         python-simplejson \
117         python-lxml \
118         zip \
119         unzip \
120         bzr \
121         nsis
122
123 all:
124         make -f $(DIR)/Makefile.debian install_debs
125         make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
126         make -f $(DIR)/Makefile.common install_cpan
127         make -f $(DIR)/Makefile.common install_cpan_force
128         make -f $(DIR)/Makefile.common install_libdbi
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: