# Functions used by all installers
-# We need a recent version of Yaz
-# Ubuntu 10.04 comes with 3.0.52
-YAZ=yaz-4.2.32
-YAZ_HOST=http://ftp.indexdata.dk/pub/yaz
-
# Install the CPAN modules
install_cpan:
for m in $(CPAN_MODULES); do perl -MCPAN -e "install \"$$m\";"; done
make -C $(LIBDBI_DRIVERS) clean
make -C $(LIBJS_PERL) clean
-# Install a known working version of YAZ
-install_yaz:
- if [ ! -d $(YAZ) ]; then wget $(YAZ_HOST)/$(YAZ).tar.gz; fi;
- tar xzf $(YAZ).tar.gz
- cd $(YAZ) && ./configure && make && make install && ldconfig
-
# vim:noet:sw=4:ts=4:
# actions required by all debian-based OSs
-# is this OS-specific?
-APT_TOOL=aptitude -yq
+APT_TOOL=apt-get -yq
install_debs:
$(APT_TOOL) install $(DEBS)
APT_BACKPORT_TOOL = aptitude -t squeeze-backports -yq
APT_SAFE_TOOL = aptitude -P
APT_TOOL=aptitude -yq
+YAZ=yaz-4.2.32
+YAZ_HOST=http://ftp.indexdata.dk/pub/yaz
+
export DEBS = \
apache2-prefork-dev\
libparent-perl\
libspreadsheet-writeexcel-perl\
libssh2-1-dev\
+ libtest-warn-perl\
libtext-aspell-perl\
libtext-csv-perl\
libuniversal-require-perl\
libunix-syslog-perl\
libuuid-tiny-perl\
libyaz-dev\
+ libsoap-lite-perl\
+ libbz2-dev\
yaz
export DEB_APACHE_MODS = \
libpq-dev \
postgresql-client-9.1
-all: install_pgsql_client_backport_debs_91
+
+all: install_pgsql_client_backport_debs_91 install_yaz
make -f $(DIR)/Makefile.debian install_debs
make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
make -f $(DIR)/Makefile.common install_cpan
make -f $(DIR)/Makefile.common install_cpan_force
+ make -f $(DIR)/Makefile.common install_libdbi
make -f $(DIR)/Makefile.debian install_js_sm
make -f $(DIR)/Makefile.debian debian_sys_config
+install_yaz:
+ if [ ! -d $(YAZ) ]; then wget $(YAZ_HOST)/$(YAZ).tar.gz; fi;
+ tar xzf $(YAZ).tar.gz
+ cd $(YAZ) && ./configure && make && make install && ldconfig
+
install_postgres_server:
$(APT_BACKPORT_TOOL) install $(PGSQL_SERVER_DEBS_91)
libspreadsheet-writeexcel-perl\
libsru-perl\
libssh2-1-dev\
+ libtest-warn-perl\
libtext-aspell-perl\
libtext-csv-perl\
libuniversal-require-perl\
libuuid-tiny-perl\
libyaz-dev\
postgresql-client-9.1\
+ libsoap-lite-perl\
+ libbz2-dev\
yaz
export DEB_APACHE_MODS = \
make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
make -f $(DIR)/Makefile.common install_cpan
make -f $(DIR)/Makefile.common install_cpan_force
+ make -f $(DIR)/Makefile.common install_libdbi
make -f $(DIR)/Makefile.debian install_js_sm
make -f $(DIR)/Makefile.debian debian_sys_config
DIR = $(dir $(lastword $(MAKEFILE_LIST)))
APT_SAFE_TOOL = aptitude -P
+# We need a recent version of Yaz
+# Ubuntu 10.04 comes with 3.0.52
+YAZ=yaz-4.2.32
+YAZ_HOST=http://ftp.indexdata.dk/pub/yaz
+
export DEBS = \
apache2-prefork-dev\
aspell\
libuniversal-require-perl\
libunix-syslog-perl\
libuuid-tiny-perl\
- libyaz-dev\
+ libbz2-dev\
+ libsoap-lite-perl
export DEB_APACHE_MODS = \
expires\
libpq-dev \
postgresql-client-9.1
-all:
+all: install_yaz
make -f $(DIR)/Makefile.debian install_debs
make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
- make -f $(DIR)/Makefile.common install_yaz
make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
make -f $(DIR)/Makefile.common install_cpan
make -f $(DIR)/Makefile.common install_cpan_force
make -f $(DIR)/Makefile.debian install_js_sm
make -f $(DIR)/Makefile.debian debian_sys_config
+install_yaz:
+ if [ ! -d $(YAZ) ]; then wget $(YAZ_HOST)/$(YAZ).tar.gz; fi;
+ tar xzf $(YAZ).tar.gz
+ cd $(YAZ) && ./configure && make && make install && ldconfig
+
install_pgsql_server_debs_91:
$(APT_TOOL) install $(PGSQL_SERVER_DEBS_91)
libuuid-tiny-perl\
libyaz-dev\
postgresql-client-9.1\
+ libsoap-lite-perl\
yaz
export DEB_APACHE_MODS = \