adding CentOS Makefile
authorChris Sharp <csharp@georgialibraries.org>
Mon, 28 Jan 2019 01:51:21 +0000 (20:51 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 28 Jan 2019 01:51:21 +0000 (20:51 -0500)
Open-ILS/src/extras/install/Makefile.centos [new file with mode: 0644]

diff --git a/Open-ILS/src/extras/install/Makefile.centos b/Open-ILS/src/extras/install/Makefile.centos
new file mode 100644 (file)
index 0000000..9d68d79
--- /dev/null
@@ -0,0 +1,107 @@
+# install files for Fedora
+
+DIR = $(dir $(lastword $(MAKEFILE_LIST)))
+
+PGSQL_COMMON_RPMS = \
+       gcc \
+       perl-Business-ISBN \
+       perl-Library-CallNumber-LC \
+       perl-MARC-Record \
+       perl-MARC-XML \
+       perl-UUID-Tiny \
+       perl-XML-LibXML \
+       perl-XML-LibXSLT
+
+CENTOS_RPMS = \
+       $(PGSQL_COMMON_RPMS) \
+       aspell \
+       aspell-en \
+       bzip2-devel \
+       check \
+       check-devel \
+       libdbi \
+       libdbi-dbd-pgsql \
+       libdbi-devel \
+       libssh2-devel \
+       libyaz \
+       libyaz-devel \
+       mingw32-nsiswrapper \
+       mod_perl \
+       mod_ssl \
+       ncurses-devel \
+       ncurses-libs \
+       perl-parent \
+       perl-Business-CreditCard \
+       perl-Business-ISBN-Data \
+       perl-CPAN \
+       perl-Crypt-SSLeay \
+       perl-Date-Manip \
+       perl-DBD-Pg \
+       perl-Email-Send \
+       perl-Email-Simple \
+       perl-Excel-Writer-XLSX \
+       perl-GDGraph3d \
+       perl-JSON-XS \
+       perl-LDAP \
+       perl-Locale-Codes \
+       perl-Locale-Maketext-Lexicon \
+       perl-MARC-Charset \
+       perl-Module-Pluggable \
+       perl-Net-IP \
+       perl-Net-SSH2 \
+       perl-OLE-Storage_Lite \
+       perl-Parse-RecDescent \
+       perl-RPC-XML \
+       perl-SOAP-Lite \
+       perl-Business-Stripe \
+       perl-Test-Warn \
+       perl-Test-Output \
+       perl-Text-Aspell \
+       perl-Text-CSV \
+       perl-Text-CSV_XS \
+       perl-XML-Writer \
+       postgresql-devel \
+       readline-devel \
+       tcp_wrappers-devel \
+       wget \
+       yaz
+
+export CPAN_MODULES = \
+       Business::ISSN \
+       Net::Z3950::ZOOM \
+       Net::Z3950::Simple2ZOOM \
+       Template::Plugin::POSIX \
+       SRU \
+       Rose::URI
+
+export CPAN_MODULES_FORCE = \
+       Class::DBI::Frozen::301 \
+       Business::OnlinePayment \
+       Business::OnlinePayment::AuthorizeNet \
+       Business::OnlinePayment::PayflowPro \
+       Business::OnlinePayment::PayPal
+
+PGSQL_CENTOS_RPMS = \
+       $(PGSQL_COMMON_RPMS) \
+       postgresql \
+       postgresql-contrib \
+       postgresql-libs \
+       postgresql-plperl \
+       postgresql-server
+
+all: install_centos_rpms
+       make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
+       make -f $(DIR)/Makefile.common install_cpan
+       make -f $(DIR)/Makefile.common install_cpan_force
+
+install_postgres_server:
+       yum -y install $(PGSQL_CENTOS_RPMS)
+
+install_centos_rpms:
+       yum -y update
+       yum -y install $(CENTOS_RPMS)
+
+clean:
+       make -f $(DIR)/Makefile.common clean
+
+# vim:noet:sw=4:ts=4: