LP#1392759 developer/packager Makefile.install targets
[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 PACKAGER_DEBS = \
102         translate-toolkit \
103         python-dev \
104         python-levenshtein \
105         python-polib \
106         python-setuptools \
107         python-simplejson \
108         python-lxml \
109         zip \
110         unzip \
111         nsis
112
113 all:
114         make -f $(DIR)/Makefile.debian install_debs
115         make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
116         make -f $(DIR)/Makefile.common install_cpan
117         make -f $(DIR)/Makefile.common install_cpan_force
118         make -f $(DIR)/Makefile.debian install_js_sm
119         make -f $(DIR)/Makefile.debian debian_sys_config
120
121 install_postgres_server:
122         make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_91)"
123
124 install_developer:
125         make -f $(DIR)/Makefile.common install_nodejs_from_source
126
127 install_packager:
128         make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
129
130 clean:
131         make -f $(DIR)/Makefile.common clean
132         make -f $(DIR)/Makefile.debian clean
133
134 # vim:noet:sw=4:ts=4: