1 # install files for Debian Squeeze
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
4 APT_BACKPORT_TOOL = aptitude -t squeeze-backports -yq
5 APT_SAFE_TOOL = aptitude -P
11 libbusiness-creditcard-perl\
12 libbusiness-isbn-data-perl\
13 libbusiness-isbn-perl\
14 libbusiness-onlinepayment-authorizenet-perl\
15 libbusiness-onlinepayment-perl\
16 libdatetime-format-builder-perl\
17 libdatetime-format-iso8601-perl\
18 libdatetime-format-mail-perl\
21 libdatetime-timezone-perl\
26 liblocale-maketext-lexicon-perl\
28 libmarc-charset-perl \
36 libnet-z3950-zoom-perl \
38 libole-storage-lite-perl\
40 libspreadsheet-writeexcel-perl\
44 libuniversal-require-perl\
50 export DEB_APACHE_MODS = \
57 export DEB_APACHE_DISMODS = \
60 export CPAN_MODULES = \
61 Business::OnlinePayment::PayPal \
62 Library::CallNumber::LC \
63 Net::Z3950::Simple2ZOOM \
65 Template::Plugin::POSIX \
70 export CPAN_MODULES_FORCE = \
71 Class::DBI::Frozen::301
73 PGSQL_SERVER_DEBS_91 = \
75 postgresql-contrib-9.1 \
76 postgresql-plperl-9.1 \
77 postgresql-server-dev-9.1
79 PGSQL_CLIENT_DEBS_91 = \
85 make -f $(DIR)/Makefile.debian install_debs
86 make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
87 make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
88 make -f $(DIR)/Makefile.common install_cpan
89 make -f $(DIR)/Makefile.common install_cpan_force
90 make -f $(DIR)/Makefile.debian install_js_sm
91 make -f $(DIR)/Makefile.debian debian_sys_config
93 install_pgsql_server_backport_debs_91:
94 $(APT_BACKPORT_TOOL) install $(PGSQL_SERVER_DEBS_91)
96 install_pgsql_client_backport_debs_91:
97 @if [ `$(APT_TOOL) versions libpq5 | grep ^i|sed 's/^i[ \t]*//'|cut -d. -f1` -eq 8 ]; \
99 echo -e "libpq5 / libpq-dev are installed as part of OpenSRF (a dependency" \
100 "of apache2-prefork-dev), but these are the 8.4 versions and they" \
101 "conflict with the 9.1 versions - so remove them, install the pinned" \
102 "backports of 9.1, then reinstall the apache2-prefork-dev package.\n\n" \
103 "**WARNING**: Saying 'Yes' to this step will _remove_ any PostgreSQL" \
104 "databases that might currently exist on this machine." && \
105 $(APT_SAFE_TOOL) remove libpq5 libpq-dev ; \
107 $(APT_BACKPORT_TOOL) install $(PGSQL_CLIENT_DEBS_91)
108 $(APT_TOOL) install apache2-prefork-dev
111 make -f $(DIR)/Makefile.common clean
112 make -f $(DIR)/Makefile.debian clean
114 # vim:noet:sw=4:ts=4: