]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.fedora
LP 2061136 follow-up: ng lint --fix
[working/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-HTTP-Async \
50         perl-JSON-XS \
51         perl-LDAP \
52         perl-Locale-Codes \
53         perl-Locale-Maketext-Lexicon \
54         perl-MARC-Charset \
55         perl-Module-Pluggable \
56         perl-Net-HTTPS-NB \
57         perl-Net-IP \
58         perl-Net-SSH2 \
59         perl-OLE-Storage_Lite \
60         perl-Parse-RecDescent \
61         perl-RPC-XML \
62         perl-SOAP-Lite \
63         perl-Test-MockModule \
64         perl-Test-MockObject \
65         perl-Test-Warn \
66         perl-Test-Output \
67         perl-Text-Aspell \
68         perl-Text-CSV \
69         perl-Text-CSV_XS \
70         perl-XML-Writer \
71         perl-HTML-Defang \
72         postgresql-devel \
73         readline-devel \
74         tcp_wrappers-devel \
75         wget \
76         yaz
77
78 export CPAN_MODULES = \
79         Geo::Coder::OSM \
80         Geo::Coder::Google \
81         Geo::Coder::Bing \
82         Excel::Writer::XLSX \
83         String::KeyboardDistance \
84         Text::Levenshtein::Damerau::XS \
85         Business::ISSN \
86         Net::Z3950::ZOOM \
87         Net::Z3950::Simple2ZOOM \
88         Template::Plugin::POSIX \
89         SRU \
90         Config::General \
91         Rose::URI
92
93 export CPAN_MODULES_FORCE = \
94         Business::Stripe \
95         Class::DBI::Frozen::301 \
96         Business::OnlinePayment \
97         Business::OnlinePayment::AuthorizeNet \
98         Business::OnlinePayment::PayflowPro \
99         Business::OnlinePayment::PayPal
100
101 PGSQL_FEDORA_RPMS = \
102         $(PGSQL_COMMON_RPMS) \
103         postgresql \
104         postgresql-contrib \
105         postgresql-libs \
106         postgresql-plperl \
107         postgresql-server
108
109 all: install_fedora_rpms
110         make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
111         make -f $(DIR)/Makefile.common install_cpan
112         make -f $(DIR)/Makefile.common install_cpan_force
113
114 install_postgres_server:
115         yum -y install $(PGSQL_FEDORA_RPMS)
116
117 install_fedora_rpms:
118         yum -y update
119         yum -y install $(FEDORA_RPMS)
120
121 clean:
122         make -f $(DIR)/Makefile.common clean
123
124 # vim:noet:sw=4:ts=4: