]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.ubuntu-precise
LP#1312308 script circ and deps removal
[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
89 export CPAN_MODULES_FORCE = \
90         Business::Stripe \
91         Class::DBI::Frozen::301
92
93 PGSQL_SERVER_DEBS_91 = \
94         $(DEB_PGSQL_COMMON_MODS) \
95         postgresql-9.1 \
96         postgresql-contrib-9.1 \
97         postgresql-plperl-9.1 \
98         postgresql-server-dev-9.1
99
100 # note: some prereqs are repeated in the developer/packager 
101 # sections to support building Evergreen packages on servers
102 # where Evergreen and its prereqs are not installed.
103
104 DEVELOPER_DEBS = \
105         automake \
106         autoconf \
107         libtool 
108
109 PACKAGER_DEBS = \
110         libtemplate-perl \
111         liblocale-maketext-lexicon-perl \
112         asciidoc \
113         source-highlight \
114         translate-toolkit \
115         python-dev \
116         python-levenshtein \
117         python-polib \
118         python-setuptools \
119         python-simplejson \
120         python-lxml \
121         zip \
122         unzip \
123         bzr \
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 debian_sys_config
132
133 install_postgres_server:
134         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_91)"
135
136 install_developer:
137         make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
138         make -f $(DIR)/Makefile.common install_nodejs_from_source
139
140 install_packager: install_developer
141         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
142
143 clean:
144         make -f $(DIR)/Makefile.common clean
145         make -f $(DIR)/Makefile.debian clean
146
147 # vim:noet:sw=4:ts=4: