From: Chris Sharp Date: Thu, 12 Dec 2013 02:27:59 +0000 (-0500) Subject: Adding CentOS 6 target to Makefile.install. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d40fc3440234330f389c06d28d7b1d09f5d2e0a6;p=working%2FOpenSRF.git Adding CentOS 6 target to Makefile.install. Adding EPEL (https://fedoraproject.org/wiki/EPEL) repo to CentOS 6 allows us to install the same RPMs as come with Fedora. Signed-off-by: Chris Sharp Conflicts: src/extras/Makefile.install --- diff --git a/src/extras/Makefile.install b/src/extras/Makefile.install index de87978..4faed1a 100644 --- a/src/extras/Makefile.install +++ b/src/extras/Makefile.install @@ -21,6 +21,8 @@ # make -f Makefile.install ubuntu-bionic # - or - # make -f Makefile.install fedora +# - or - +# make -f Makefile.install centos # # --------------------------------------------------------------------- @@ -32,6 +34,10 @@ LBITS=$(shell getconf LONG_BIT) APT_TOOL=apt-get -yq +# CentOS needs the EPEL repository +EPEL_HOST=http://dl.fedoraproject.org/pub/epel/6/x86_64 +EPEL_PKG=epel-release-6-8.noarch.rpm + # Debian dependencies DEBS = \ autoconf\ @@ -88,7 +94,7 @@ DEBS = \ zip\ zlib1g-dev -FEDORAS = \ +RPMS = \ autoconf \ automake \ check \ @@ -194,7 +200,8 @@ stretch: install_extra_debs install_extra_debs_stretch debian_sys_config jessie: install_extra_debs_jessie debian_sys_config generic_debian: install_debs -fedora: install_fedora_rpms +fedora: install_rpms +centos: install_epel install_rpms ubuntu-trusty: generic_ubuntu trusty apache_mpm_prefork_mods ubuntu-xenial: generic_ubuntu xenial apache_mpm_prefork_mods apache_perl_mod @@ -246,8 +253,4 @@ apache_mpm_prefork_mods: apache_perl_mod: a2enmod perl -# Fedora -install_fedora_rpms: - yum -y install $(FEDORAS) - # vim:noet:sw=4:ts=4: