853d6f853e51adbb2fa8bf3e6b2920184d227048
[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-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         libdbd-pgsql \
37         libdbi-dev \
38         libemail-send-perl\
39         libemail-simple-perl\
40         libgd-graph3d-perl\
41         liblocale-maketext-lexicon-perl\
42         liblog-log4perl-perl\
43         libmarc-charset-perl \
44         libncurses5-dev\
45         libnet-https-any-perl \
46         libnet-ip-perl\
47         libnet-ldap-perl \
48         libnet-server-perl\
49         libnet-ssh2-perl\
50         libnet-z3950-simple2zoom-perl\
51         libnet-z3950-simpleserver-perl\
52         libnet-z3950-zoom-perl \
53         libnspr4-dev\
54         libole-storage-lite-perl\
55         libbz2-dev \
56         libpq5\
57         libpq-dev\
58         librpc-xml-perl\
59         libsru-perl\
60         libssh2-1-dev\
61         libtext-aspell-perl\
62         libtext-csv-perl\
63         libuniversal-require-perl\
64         libunix-syslog-perl\
65         libyaz-dev\
66         postgresql-client-9.1\
67         libsoap-lite-perl\
68         libtest-warn-perl\
69         libtest-output-perl\
70         libparse-recdescent-perl\
71         yaz
72
73 export DEB_APACHE_MODS = \
74     expires\
75     include\
76     proxy\
77     proxy_http\
78     rewrite
79
80 export DEB_APACHE_DISMODS = \
81     deflate
82
83 export CPAN_MODULES = \
84         Excel::Writer::XLSX \
85         Business::CreditCard::Object \
86         Business::OnlinePayment::PayPal \
87         Template::Plugin::POSIX \
88         Rose::URI \
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         bzr \
125         nsis
126
127 all:
128         make -f $(DIR)/Makefile.debian install_debs
129         make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
130         make -f $(DIR)/Makefile.common install_cpan
131         make -f $(DIR)/Makefile.common install_cpan_force
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: