Flesh out CentOS Makefile
authorChris Sharp <csharp@georgialibraries.org>
Mon, 28 Jan 2019 02:23:45 +0000 (21:23 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 28 Jan 2019 02:23:45 +0000 (21:23 -0500)
Open-ILS/src/extras/Makefile.install
Open-ILS/src/extras/install/Makefile.centos

index d58a6f4..c4b820b 100644 (file)
@@ -76,6 +76,8 @@ ubuntu-trusty:
        @make -f $(DIR)/Makefile.ubuntu-trusty
 fedora:
        @make -f $(DIR)/Makefile.fedora
+centos:
+       @make -f $(DIR)/Makefile.centos
 
 postgres-server-debian-stretch:
        @make -f $(DIR)/Makefile.debian-stretch install_postgres_server
@@ -89,6 +91,8 @@ postgres-server-ubuntu-trusty:
        @make -f $(DIR)/Makefile.ubuntu-trusty install_postgres_server
 postgres-server-fedora:
        @make -f $(DIR)/Makefile.fedora install_postgres_server
+postgres-server-centos:
+       @make -f $(DIR)/Makefile.centos install_postgres_server
 
 ubuntu-bionic-developer:
        @make -f $(DIR)/Makefile.ubuntu-bionic install_developer
@@ -100,6 +104,8 @@ debian-stretch-developer:
        @make -f $(DIR)/Makefile.debian-stretch install_developer
 debian-jessie-developer:
        @make -f $(DIR)/Makefile.debian-jessie install_developer
+centos-developer:
+       @make -f $(DIR)/Makefile.centos install_developer
 
 ubuntu-bionic-translator:
        @make -f $(DIR)/Makefile.ubuntu-bionic install_translator
@@ -111,6 +117,9 @@ debian-stretch-translator:
        @make -f $(DIR)/Makefile.debian-stretch install_translator
 debian-jessie-translator:
        @make -f $(DIR)/Makefile.debian-jessie install_translator
+centos-translator:
+       @make -f $(DIR)/Makefile.centos install_translator
+
 
 ubuntu-bionic-packager:
        @make -f $(DIR)/Makefile.ubuntu-bionic install_packager
@@ -122,5 +131,8 @@ debian-stretch-packager:
        @make -f $(DIR)/Makefile.debian-stretch install_packager
 debian-jessie-packager:
        @make -f $(DIR)/Makefile.debian-jessie install_packager
+centos-packager:
+       @make -f $(DIR)/Makefile.centos install_packager
+
 
 # vim:noet:sw=4:ts=4:
index 9d68d79..099bebe 100644 (file)
@@ -89,6 +89,29 @@ PGSQL_CENTOS_RPMS = \
        postgresql-plperl \
        postgresql-server
 
+DEVELOPER_RPMS = \
+    automake \
+    autoconf \
+    libtool
+
+PACKAGER_RPMS = \
+    asciidoc \
+    source-highlight \
+    zip \
+    unzip \
+    mingw32-nsis
+
+TRANSLATOR_RPMS = \
+    perl-Locale-Maketext-Lexicon \
+    translate-toolkit \
+    python-devel \
+    python-Levenshtein \
+    python2-polib \
+    python-setuptools \
+    python2-simplejson \
+    python-lxml \
+    bzr
+
 all: install_centos_rpms
        make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
        make -f $(DIR)/Makefile.common install_cpan
@@ -101,6 +124,16 @@ install_centos_rpms:
        yum -y update
        yum -y install $(CENTOS_RPMS)
 
+install_developer:
+       yum -y install $(DEVELOPER_RPMS)
+       make -f $(DIR)/Makefile.common install_nodejs_from_source
+
+install_translator: install_developer
+       yum -y install $(TRANSLATOR_RPMS)
+
+install_packager: install_developer install_translator
+       yum -y install $(PACKAGER_RPMS)
+
 clean:
        make -f $(DIR)/Makefile.common clean