# make -f Makefile.install ubuntu-precise
# - or -
# make -f Makefile.install fedora
+# - or -
+# make -f Makefile.install centos
#
# ---------------------------------------------------------------------
tar\
zlib1g-dev
-FEDORAS = \
+RPMS = \
autoconf \
automake \
check \
squeeze: install_extra_debs_squeeze
generic_debian: install_debs debian_sys_config
-fedora: install_fedora_rpms
+fedora: install_rpms
+centos: install_epel install_rpms
ubuntu-lucid: generic_ubuntu lucid
ubuntu-precise: generic_ubuntu precise
install_extra_debs_precise:
$(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_PRECISE)
-# Fedora
-install_fedora_rpms:
- yum -y install $(FEDORAS)
+# CentOS
+install_epel:
+ if [ $(uname -r | grep el6) ]; then \
+ wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
+ rpm -Uvh epel-release-6-8.noarch.rpm;
+ fi
+
+# Fedora/CentOS
+install_rpms:
+ yum -y install $(RPMS)
# vim:noet:sw=4:ts=4: