]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.ubuntu-precise
LP#1392759 dev/pack makefile.install repairs
[working/Evergreen.git] / Open-ILS / src / extras / install / Makefile.ubuntu-precise
1 # install files for Ubuntu 12.04 LTS Precise Pangolin
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         libuuid-tiny-perl \
13         libxml-libxml-perl \
14         libxml-libxslt-perl
15
16 export DEBS = \
17         $(DEB_PGSQL_COMMON_MODS) \
18         apache2-prefork-dev\
19         aspell\
20         aspell-en\
21         libbusiness-creditcard-perl\
22         libbusiness-edi-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         libdbd-pgsql \
36         libdbi-dev \
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-https-any-perl \
45         libnet-ip-perl\
46         libnet-ldap-perl \
47         libnet-server-perl\
48         libnet-ssh2-perl\
49         libnet-z3950-simple2zoom-perl\
50         libnet-z3950-simpleserver-perl\
51         libnet-z3950-zoom-perl \
52         libnspr4-dev\
53         libole-storage-lite-perl\
54         libbz2-dev \
55         libpq5\
56         libpq-dev\
57         librpc-xml-perl\
58         libsru-perl\
59         libssh2-1-dev\
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         libtest-warn-perl\
68         libtest-output-perl\
69         libparse-recdescent-perl\
70         yaz
71
72 export DEB_APACHE_MODS = \
73     expires\
74     include\
75     proxy\
76     proxy_http\
77     rewrite
78
79 export DEB_APACHE_DISMODS = \
80     deflate
81
82 export CPAN_MODULES = \
83         Excel::Writer::XLSX \
84         Business::CreditCard::Object \
85         Business::OnlinePayment::PayPal \
86         Template::Plugin::POSIX \
87         Rose::URI \
88         Safe
89
90 export CPAN_MODULES_FORCE = \
91         Business::Stripe \
92         Class::DBI::Frozen::301
93
94 PGSQL_SERVER_DEBS_91 = \
95         $(DEB_PGSQL_COMMON_MODS) \
96         postgresql-9.1 \
97         postgresql-contrib-9.1 \
98         postgresql-plperl-9.1 \
99         postgresql-server-dev-9.1
100
101 # note: some prereqs are repeated in the developer/packager 
102 # sections to support building Evergreen packages on servers
103 # where Evergreen and its prereqs are not installed.
104
105 DEVELOPER_DEBS = \
106         automake \
107         autoconf \
108         libtool 
109
110 PACKAGER_DEBS = \
111         libtemplate-perl \
112         liblocale-maketext-lexicon-perl \
113         asciidoc \
114         source-highlight \
115         translate-toolkit \
116         python-dev \
117         python-levenshtein \
118         python-polib \
119         python-setuptools \
120         python-simplejson \
121         python-lxml \
122         zip \
123         unzip \
124         nsis
125
126 all:
127         make -f $(DIR)/Makefile.debian install_debs
128         make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
129         make -f $(DIR)/Makefile.common install_cpan
130         make -f $(DIR)/Makefile.common install_cpan_force
131         make -f $(DIR)/Makefile.debian install_js_sm
132         make -f $(DIR)/Makefile.debian debian_sys_config
133
134 install_postgres_server:
135         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_91)"
136
137 install_developer:
138         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
139         make -f $(DIR)/Makefile.common install_nodejs_from_source
140
141 install_packager: install_developer
142         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
143
144 clean:
145         make -f $(DIR)/Makefile.common clean
146         make -f $(DIR)/Makefile.debian clean
147
148 # vim:noet:sw=4:ts=4: