Support installation for Ubuntu 12.04 Precise Pangolin.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 7 Dec 2011 20:08:42 +0000 (15:08 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 9 Dec 2011 20:14:21 +0000 (15:14 -0500)
Update the README to include Precise Pangolin as a supported release.

Update src/extras/Makefile.install to install two new debs required on
Ubuntu 12.04 alpha1.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>

README
src/extras/Makefile.install

diff --git a/README b/README
index 50c21f8..95f8fbc 100644 (file)
--- a/README
+++ b/README
@@ -24,6 +24,7 @@ Well-tested values for <osname> include:
   * `debian-squeeze` for Debian 6.0.0
   * `ubuntu-hardy` for Ubuntu 8.04
   * `ubuntu-lucid` for Ubuntu 10.04
+  * `ubuntu-precise` for Ubuntu 12.04
   * `fedora15` for Fedora 15
 
 Less-tested values for <osname> include:
index f49a477..56725c9 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Makefile to install prerequisites for OpenSRF
 #
-# Currently supports Debian (lenny/squeeze), Ubuntu (hardy/lucid)
+# Currently supports Debian (lenny/squeeze), Ubuntu (hardy/lucid/precise)
 # Working towards support of CentOS 5 / RHEL 5 and Fedora.
 # Installs Perl prereqs, libjs with Perl wrapper
 #
@@ -17,6 +17,8 @@
 #      - or -
 #      make -f Makefile.install ubuntu-lucid
 #      - or -
+#      make -f Makefile.install ubuntu-precise
+#      - or -
 #      make -f Makefile.install centos
 #      - or -
 #      make -f Makefile.install rhel
@@ -258,6 +260,13 @@ EXTRA_DEBS_UBUNTU_LUCID = \
        libxml-libxml-perl \
        libxml-libxslt-perl
 
+EXTRA_DEBS_UBUNTU_PRECISE = \
+       libmemcached-dev\
+       libxml-libxml-perl \
+       libxml-libxslt-perl \
+       ncurses-dev \
+       libreadline-dev
+
 # generic CPAN modules:
 #   * DateTime::Format::ISO8601 is packaged by both Debian Lenny and Ubuntu Intrepid
 #   * JSON::XS is packaged by both Debian Lenny and Ubuntu Intrepid
@@ -295,8 +304,10 @@ rhel: centos
 
 ubuntu-hardy: generic_ubuntu install_cpan_xml hardy
 ubuntu-lucid: generic_ubuntu lucid
+ubuntu-precise: generic_ubuntu precise
 hardy: install_cpan install_libmemcached 
 lucid: install_extra_debs install_extra_debs_lucid
+precise: install_extra_debs install_extra_debs_precise
 generic_ubuntu: install_debs debian_sys_config
 
 # - COMMON TARGETS ---------------------------------------------------------
@@ -416,6 +427,9 @@ install_extra_debs_squeeze: install_extra_debs
 install_extra_debs_lucid:
        $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_LUCID)
 
+install_extra_debs_precise:
+       $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_PRECISE)
+
 # Fedora
 install_fedora_rpms:
        yum -y install $(FEDORAS)