Add Ubuntu Karmic support to prerequisite installer
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Sep 2009 03:53:14 +0000 (03:53 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Sep 2009 03:53:14 +0000 (03:53 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14188 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/extras/Makefile.install

index 2bb5738..8b81aac 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Makefile to install prerequisites for OpenSRF and Evergreen
 #
-# Currently supports Debian (etch/lenny), Ubuntu (gutsy/hardy/intrepid), and Gentoo.
+# Currently supports Debian (etch/lenny), Ubuntu (gutsy/hardy/intrepid/karmic), and Gentoo.
 # Working towards support of CentOS 5 / RHEL 5.
 # Installs Perl prereqs, libjs with Perl wrapper, libdbi, libdbi-drivers, and libyaz
 #
@@ -18,6 +18,8 @@
 #      - or -
 #      make -f Makefile.install ubuntu-intrepid
 #      - or -
+#      make -f Makefile.install ubuntu-karmic
+#      - or -
 #      make -f Makefile.install centos
 #      - or -
 #      make -f Makefile.install rhel
@@ -179,6 +181,15 @@ PGSQL_SERVER_DEBS_83 = \
        postgresql-plperl-8.3 \
        postgresql-server-dev-8.3
 
+PGSQL_CLIENT_DEBS_84 = \
+       postgresql-client
+
+PGSQL_SERVER_DEBS_84 = \
+       postgresql \
+       postgresql-contrib-8.4 \
+       postgresql-plperl-8.4 \
+       postgresql-server-dev-8.4
+
 GENTOOS = \
     yaz\
     aspell-en\
@@ -213,7 +224,7 @@ DEB_APACHE_DISMODS = \
 CPAN_MODULES = \
     Business::CreditCard::Object \
     Net::Z3950::Simple2ZOOM \
-       UUID::Tiny \
+    UUID::Tiny \
     SRU \
     Safe
 
@@ -246,8 +257,10 @@ rhel: centos
 ubuntu-gutsy: hardy generic_ubuntu 
 ubuntu-hardy: hardy generic_ubuntu
 ubuntu-intrepid: intrepid generic_ubuntu
+ubuntu-karmic: karmic generic_ubuntu
 hardy: install_pgsql_client_debs_82 install_yaz install_cpan_marc
 intrepid: install_pgsql_client_debs_83 install_extra_debs
+karmic: install_pgsql_client_debs_84 install_extra_debs
 generic_ubuntu: install_debs install debian_sys_config
 
 # - COMMON TARGETS ---------------------------------------------------------
@@ -314,6 +327,12 @@ debian_sys_config:
 install_debs:
        $(APT_TOOL) install $(DEBS)
 
+install_pgsql_client_debs_84:
+       $(APT_TOOL) install $(PGSQL_CLIENT_DEBS_84)
+
+install_pgsql_server_debs_84:
+       $(APT_TOOL) install $(PGSQL_SERVER_DEBS_84)
+
 install_pgsql_client_debs_83:
        $(APT_TOOL) install $(PGSQL_CLIENT_DEBS_83)