]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.fedora
lp1863252 toward geosort
[Evergreen.git] / Open-ILS / src / extras / install / Makefile.fedora
1 # install files for Fedora
2
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
4
5 # Fedora?
6 FEDORA=$(shell uname -r | grep "\.fc[0-9][0-9]\.")
7 # Fedora 64-bit?
8 FEDORA_64=$(shell uname -r | grep "\.fc[0-9][0-9]\.x86_64")
9
10 PGSQL_COMMON_RPMS = \
11         gcc \
12         perl-Business-ISBN \
13         perl-Library-CallNumber-LC \
14         perl-MARC-Record \
15         perl-MARC-XML \
16         perl-UUID-Tiny \
17         perl-XML-LibXML \
18         perl-XML-LibXSLT
19
20 FEDORA_RPMS = \
21         $(PGSQL_COMMON_RPMS) \
22         aspell \
23         aspell-en \
24         bzip2-devel \
25         check \
26         check-devel \
27         libdbi \
28         libdbi-dbd-pgsql \
29         libdbi-devel \
30         libssh2-devel \
31         libyaz \
32         libyaz-devel \
33         mingw32-nsiswrapper \
34         mod_perl \
35         mod_ssl \
36         ncurses-devel \
37         ncurses-libs \
38         perl-parent \
39         perl-Business-CreditCard \
40         perl-Business-ISBN-Data \
41         perl-CPAN \
42         perl-Crypt-SSLeay \
43         perl-Date-Manip \
44         perl-DBD-Pg \
45         perl-Email-Send \
46         perl-Email-Simple \
47         perl-Email-MIME \
48         perl-GDGraph3d \
49         perl-JSON-XS \
50         perl-LDAP \
51         perl-Locale-Codes \
52         perl-Locale-Maketext-Lexicon \
53         perl-MARC-Charset \
54         perl-Module-Pluggable \
55         perl-Net-IP \
56         perl-Net-SSH2 \
57         perl-OLE-Storage_Lite \
58         perl-Parse-RecDescent \
59         perl-RPC-XML \
60         perl-SOAP-Lite \
61         perl-Test-Warn \
62         perl-Test-Output \
63         perl-Text-Aspell \
64         perl-Text-CSV \
65         perl-Text-CSV_XS \
66         perl-XML-Writer \
67         perl-HTML-Defang \
68         postgresql-devel \
69         readline-devel \
70         tcp_wrappers-devel \
71         wget \
72         yaz
73
74 export CPAN_MODULES = \
75         Geo::Coder::Free \
76         Geo::Coder::OSM \
77         Geo::Coder::Google \
78         Excel::Writer::XLSX \
79         Business::ISSN \
80         Net::Z3950::ZOOM \
81         Net::Z3950::Simple2ZOOM \
82         Template::Plugin::POSIX \
83         SRU \
84         Config::General \
85         Rose::URI
86
87 export CPAN_MODULES_FORCE = \
88         Business::Stripe \
89         Class::DBI::Frozen::301 \
90         Business::OnlinePayment \
91         Business::OnlinePayment::AuthorizeNet \
92         Business::OnlinePayment::PayflowPro \
93         Business::OnlinePayment::PayPal
94
95 PGSQL_FEDORA_RPMS = \
96         $(PGSQL_COMMON_RPMS) \
97         postgresql \
98         postgresql-contrib \
99         postgresql-libs \
100         postgresql-plperl \
101         postgresql-server
102
103 all: install_fedora_rpms
104         make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
105         make -f $(DIR)/Makefile.common install_cpan
106         make -f $(DIR)/Makefile.common install_cpan_force
107
108 install_postgres_server:
109         yum -y install $(PGSQL_FEDORA_RPMS)
110
111 install_fedora_rpms:
112         yum -y update
113         yum -y install $(FEDORA_RPMS)
114
115 clean:
116         make -f $(DIR)/Makefile.common clean
117
118 # vim:noet:sw=4:ts=4: