]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/extras/install/Makefile.fedora
a0902fafe41a5f7d1450cf60d9b5596138948b40
[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         postgresql-devel \
67         readline-devel \
68         tcp_wrappers-devel \
69         wget \
70         yaz
71
72 export CPAN_MODULES = \
73         Excel::Writer::XLSX \
74         Business::ISSN \
75         Net::Z3950::ZOOM \
76         Net::Z3950::Simple2ZOOM \
77         Template::Plugin::POSIX \
78         SRU \
79         Rose::URI
80
81 export CPAN_MODULES_FORCE = \
82         Business::Stripe \
83         Class::DBI::Frozen::301 \
84         Business::OnlinePayment \
85         Business::OnlinePayment::AuthorizeNet \
86         Business::OnlinePayment::PayflowPro \
87         Business::OnlinePayment::PayPal
88
89 PGSQL_FEDORA_RPMS = \
90         $(PGSQL_COMMON_RPMS) \
91         postgresql \
92         postgresql-contrib \
93         postgresql-libs \
94         postgresql-plperl \
95         postgresql-server
96
97 all: install_fedora_rpms
98         make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
99         make -f $(DIR)/Makefile.common install_cpan
100         make -f $(DIR)/Makefile.common install_cpan_force
101
102 install_postgres_server:
103         yum -y install $(PGSQL_FEDORA_RPMS)
104
105 install_fedora_rpms:
106         yum -y update
107         yum -y install $(FEDORA_RPMS)
108
109 clean:
110         make -f $(DIR)/Makefile.common clean
111
112 # vim:noet:sw=4:ts=4: