* `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:
#
# 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
#
# - 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
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
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 ---------------------------------------------------------
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)