Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
APT_TOOL=apt-get -yq
FEDORA_YUM_TOOL=dnf -yq
CENTOS_YUM_TOOL=yum -yq
+RPM_TOOL=rpm
+EJABBERD_URL=https://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/18.12.1/
+EJABBERD_RPM=ejabberd-18.12.1-0.x86_64.rpm
# Debian dependencies
DEBS = \
install_cpan_modules_centos:
for m in $(CPAN_MODULES_CENTOS); do cpan $$m; done;
+install_ejabberd:
+ wget -O /tmp/$(EJABBERD_RPM) $(EJABBERD_URL)/$(EJABBERD_RPM)
+ $(RPM_TOOL) -i /tmp/$(EJABBERD_RPM)
+ systemctl enable ejabberd.service
+ systemctl start ejabberd.service
+
# Fedora/CentOS
install_rpms:
$(FEDORA_YUM_TOOL) install $(RPMS)