[Opensrf-commits] r1958 - trunk/src/extras (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jun 14 22:04:40 EDT 2010


Author: dbs
Date: 2010-06-14 22:04:38 -0400 (Mon, 14 Jun 2010)
New Revision: 1958

Modified:
   trunk/src/extras/Makefile.install
Log:
First rough attempt at Fedora 13 support


Modified: trunk/src/extras/Makefile.install
===================================================================
--- trunk/src/extras/Makefile.install	2010-06-14 18:31:32 UTC (rev 1957)
+++ trunk/src/extras/Makefile.install	2010-06-15 02:04:38 UTC (rev 1958)
@@ -4,7 +4,7 @@
 # Makefile to install prerequisites for OpenSRF
 #
 # Currently supports Debian (etch/lenny), Ubuntu (hardy/karmic), and Gentoo.
-# Working towards support of CentOS 5 / RHEL 5.
+# Working towards support of CentOS 5 / RHEL 5 and Fedora.
 # Installs Perl prereqs, libjs with Perl wrapper
 #
 # usage:
@@ -21,6 +21,8 @@
 # 	make -f Makefile.install rhel
 # 	- or -
 # 	make -f Makefile.install gentoo
+# 	- or -
+# 	make -f Makefile.install fedora13
 #
 # Notes:
 #
@@ -181,6 +183,61 @@
 
 CENTOS_PERL = \
 
+FEDORAS = \
+	autoconf \
+	automake \
+	ejabberd \
+	expat-devel \
+	gcc \
+	gdbm-devel \
+	httpd \
+	httpd-devel \
+	less \
+	libgcrypt-devel \
+	libmemcached \
+	libmemcached-devel \
+	libtool \
+	libxml2-devel \
+	libxml2-python \
+	libxslt-devel \
+	make \
+	memcached \
+	mod_perl \
+	ntpdate \
+	perl-Cache-Memcached \
+	perl-Class-DBI \
+	perl-Class-DBI-SQLite \
+	perl-DateTime-Format-Builder \
+	perl-DateTime-Format-Mail \
+	perl-devel \
+	perl-Error \
+	perl-File-Find-Rule \
+	perl-FreezeThaw \
+	perl-libwww-perl \
+	perl-Log-Log4perl \
+	perl-Module-Build \
+	perl-Net-Jabber \
+	perl-RPC-XML \
+	perl-SQL-Abstract-Limit \
+	perl-Template-Toolkit \
+	perl-Test-Deep \
+	perl-Test-Exception \
+	perl-Test-Pod \
+	perl-Tie-IxHash \
+	perl-UNIVERSAL-require \
+	perl-Unix-Syslog \
+	perl-XML-LibXML \
+	perl-XML-LibXSLT \
+	perl-XML-Simple \
+	psmisc \
+	python-devel \
+	python-memcached \
+	python-setuptools \
+	readline-devel
+
+FEDORA_CPAN = \
+	Class::DBI::AbstractSearch
+
 GENTOOS = \
 	vim\
 	ntp\
@@ -264,6 +321,8 @@
 lenny: install_extra_debs
 generic_debian: install_debs install_cpan_force install_cpan_xml debian_sys_config
 
+fedora13: install_fedora_rpms install_fedora_perl
+
 gentoo: install_gentoos install_gentoo_rc install_gentoo_perl install
 
 rhel: centos
@@ -379,6 +438,13 @@
 
 # ------------------------------------------------------------------
 
+# Fedora
+install_fedora_rpms:
+	yum -y install $(FEDORAS)
+
+install_fedora_perl:
+	for m in $(FEDORA_CPAN); do perl -MCPAN -e "install \"$$m\";"; done
+
 # CENTOS
 install_centos_rpms:
 	yum -y install $(CENTOS)



More information about the opensrf-commits mailing list