]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.fedora
LP#1312308 script circ and deps removal
[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_ssl \
35         ncurses-devel \
36         ncurses-libs \
37         perl-parent \
38         perl-Business-CreditCard \
39         perl-Business-ISBN-Data \
40         perl-CPAN \
41         perl-Crypt-SSLeay \
42         perl-Date-Manip \
43         perl-DBD-Pg \
44         perl-Email-Send \
45         perl-Email-Simple \
46         perl-GDGraph3d \
47         perl-JSON-XS \
48         perl-LDAP \
49         perl-Locale-Codes \
50         perl-Locale-Maketext-Lexicon \
51         perl-MARC-Charset \
52         perl-Module-Pluggable \
53         perl-Net-IP \
54         perl-Net-SSH2 \
55         perl-OLE-Storage_Lite \
56         perl-Parse-RecDescent \
57         perl-RPC-XML \
58         perl-SOAP-Lite \
59         perl-Test-Warn \
60         perl-Test-Output \
61         perl-Text-Aspell \
62         perl-Text-CSV \
63         perl-Text-CSV_XS \
64         perl-XML-Writer \
65         postgresql-devel \
66         readline-devel \
67         tcp_wrappers-devel \
68         wget \
69         yaz
70
71 export CPAN_MODULES = \
72         Excel::Writer::XLSX \
73         Business::ISSN \
74         Net::Z3950::ZOOM \
75         Net::Z3950::Simple2ZOOM \
76         Template::Plugin::POSIX \
77         SRU \
78         Rose::URI
79
80 export CPAN_MODULES_FORCE = \
81         Business::Stripe \
82         Class::DBI::Frozen::301 \
83         Business::OnlinePayment \
84         Business::OnlinePayment::AuthorizeNet \
85         Business::OnlinePayment::PayPal
86
87 PGSQL_FEDORA_RPMS = \
88         $(PGSQL_COMMON_RPMS) \
89         postgresql \
90         postgresql-contrib \
91         postgresql-libs \
92         postgresql-plperl \
93         postgresql-server
94
95 all: install_fedora_rpms
96         make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
97         make -f $(DIR)/Makefile.common install_cpan
98         make -f $(DIR)/Makefile.common install_cpan_force
99
100 install_postgres_server:
101         yum -y install $(PGSQL_FEDORA_RPMS)
102
103 install_fedora_rpms:
104         yum -y update
105         yum -y install $(FEDORA_RPMS)
106
107 clean:
108         make -f $(DIR)/Makefile.common clean
109
110 # vim:noet:sw=4:ts=4: