LP1825851 Add Perl HTML::Defang dependency
[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-GDGraph3d \
48         perl-JSON-XS \
49         perl-LDAP \
50         perl-Locale-Codes \
51         perl-Locale-Maketext-Lexicon \
52         perl-MARC-Charset \
53         perl-Module-Pluggable \
54         perl-Net-IP \
55         perl-Net-SSH2 \
56         perl-OLE-Storage_Lite \
57         perl-Parse-RecDescent \
58         perl-RPC-XML \
59         perl-SOAP-Lite \
60         perl-Test-Warn \
61         perl-Test-Output \
62         perl-Text-Aspell \
63         perl-Text-CSV \
64         perl-Text-CSV_XS \
65         perl-XML-Writer \
66         perl-HTML-Defang \
67         postgresql-devel \
68         readline-devel \
69         tcp_wrappers-devel \
70         wget \
71         yaz
72
73 export CPAN_MODULES = \
74         Excel::Writer::XLSX \
75         Business::ISSN \
76         Net::Z3950::ZOOM \
77         Net::Z3950::Simple2ZOOM \
78         Template::Plugin::POSIX \
79         SRU \
80         Rose::URI
81
82 export CPAN_MODULES_FORCE = \
83         Business::Stripe \
84         Class::DBI::Frozen::301 \
85         Business::OnlinePayment \
86         Business::OnlinePayment::AuthorizeNet \
87         Business::OnlinePayment::PayflowPro \
88         Business::OnlinePayment::PayPal
89
90 PGSQL_FEDORA_RPMS = \
91         $(PGSQL_COMMON_RPMS) \
92         postgresql \
93         postgresql-contrib \
94         postgresql-libs \
95         postgresql-plperl \
96         postgresql-server
97
98 all: install_fedora_rpms
99         make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
100         make -f $(DIR)/Makefile.common install_cpan
101         make -f $(DIR)/Makefile.common install_cpan_force
102
103 install_postgres_server:
104         yum -y install $(PGSQL_FEDORA_RPMS)
105
106 install_fedora_rpms:
107         yum -y update
108         yum -y install $(FEDORA_RPMS)
109
110 clean:
111         make -f $(DIR)/Makefile.common clean
112
113 # vim:noet:sw=4:ts=4: