1 # install files for Ubuntu 10.04 LTS Lucid Lynx
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
4 APT_SAFE_TOOL = aptitude -P
10 libbusiness-creditcard-perl\
11 libbusiness-isbn-data-perl\
12 libbusiness-isbn-perl\
13 libbusiness-onlinepayment-authorizenet-perl\
14 libbusiness-onlinepayment-perl\
15 libdatetime-format-builder-perl\
16 libdatetime-format-iso8601-perl\
17 libdatetime-format-mail-perl\
20 libdatetime-timezone-perl\
25 liblocale-maketext-lexicon-perl\
27 libmarc-charset-perl \
34 libnet-z3950-zoom-perl \
36 libole-storage-lite-perl\
38 libspreadsheet-writeexcel-perl\
42 libuniversal-require-perl\
47 export DEB_APACHE_MODS = \
54 export DEB_APACHE_DISMODS = \
57 export CPAN_MODULES = \
58 Business::OnlinePayment::PayPal \
59 Library::CallNumber::LC \
61 Net::Z3950::Simple2ZOOM \
63 Template::Plugin::POSIX \
68 export CPAN_MODULES_FORCE = \
69 Class::DBI::Frozen::301
71 PGSQL_SERVER_DEBS_91 = \
73 postgresql-contrib-9.1 \
74 postgresql-plperl-9.1 \
75 postgresql-server-dev-9.1
77 PGSQL_CLIENT_DEBS_91 = \
83 make -f $(DIR)/Makefile.debian install_debs
84 make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
85 make -f $(DIR)/Makefile.common install_yaz
86 make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
87 make -f $(DIR)/Makefile.common install_cpan
88 make -f $(DIR)/Makefile.common install_cpan_force
89 make -f $(DIR)/Makefile.debian install_js_sm
90 make -f $(DIR)/Makefile.debian debian_sys_config
92 install_pgsql_server_debs_91:
93 $(APT_TOOL) install $(PGSQL_SERVER_DEBS_91)
95 install_pgsql_client_backport_debs_91:
96 @if [ `$(APT_TOOL) versions libpq5 | grep ^i|sed 's/^i[ \t]*//'|cut -d. -f1` -eq 8 ]; \
98 echo -e "libpq5 / libpq-dev are installed as part of OpenSRF (a dependency" \
99 "of apache2-prefork-dev), but these are the 8.4 versions and they" \
100 "conflict with the 9.1 versions - so remove them, install the pinned" \
101 "backports of 9.1, then reinstall the apache2-prefork-dev package.\n\n" \
102 "**WARNING**: Saying 'Yes' to this step will _remove_ any PostgreSQL" \
103 "databases that might currently exist on this machine." && \
104 $(APT_SAFE_TOOL) remove libpq5 libpq-dev ; \
106 $(APT_TOOL) install $(PGSQL_CLIENT_DEBS_91)
107 $(APT_TOOL) install apache2-prefork-dev
110 make -f $(DIR)/Makefile.common clean
111 make -f $(DIR)/Makefile.debian clean
113 # vim:noet:sw=4:ts=4: