1 # install files for Ubuntu 14.04 LTS Trusty Tahr
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
5 export DEB_PGSQL_COMMON_MODS = \
7 libbusiness-isbn-perl \
9 liblibrary-callnumber-lc-perl \
18 $(DEB_PGSQL_COMMON_MODS) \
22 libbusiness-creditcard-perl\
23 libbusiness-edi-perl \
24 libbusiness-isbn-data-perl\
25 libbusiness-issn-perl\
26 libbusiness-onlinepayment-authorizenet-perl\
27 libbusiness-onlinepayment-payflowpro-perl\
28 libbusiness-onlinepayment-perl\
30 libdatetime-format-builder-perl\
31 libdatetime-format-iso8601-perl\
32 libdatetime-format-mail-perl\
35 libdatetime-timezone-perl\
41 libexcel-writer-xlsx-perl\
43 liblocale-maketext-lexicon-perl\
45 libmarc-charset-perl \
47 libnet-https-any-perl \
52 libnet-z3950-simple2zoom-perl\
53 libnet-z3950-simpleserver-perl\
54 libnet-z3950-zoom-perl \
56 libole-storage-lite-perl\
63 libtemplate-plugin-posix-perl\
67 libuniversal-require-perl\
70 postgresql-client-9.4\
73 libparse-recdescent-perl\
76 export DEB_APACHE_MODS = \
84 export DEB_APACHE_DISMODS = \
87 export DEB_APACHE_DISCONF = \
90 export CPAN_MODULES = \
91 Business::CreditCard::Object \
92 Business::OnlinePayment::PayPal \
94 export CPAN_MODULES_FORCE = \
96 Class::DBI::Frozen::301
98 PGSQL_APT_REPO_DEBS = \
102 PGSQL_SERVER_DEBS_94 = \
103 $(DEB_PGSQL_COMMON_MODS) \
105 postgresql-contrib-9.4 \
106 postgresql-plperl-9.4 \
107 postgresql-server-dev-9.4
109 # note: some prereqs are repeated in the developer/packager
110 # sections to support building Evergreen packages on servers
111 # where Evergreen and its prereqs are not installed.
113 # nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs
114 # which is needed by our npm-installed packages
131 liblocale-maketext-lexicon-perl \
142 make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_APT_REPO_DEBS)"
143 make -f $(DIR)/Makefile.debian debian_postgresql_repo
144 make -f $(DIR)/Makefile.debian install_debs
145 make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
146 make -f $(DIR)/Makefile.common install_cpan
147 make -f $(DIR)/Makefile.common install_cpan_force
148 make -f $(DIR)/Makefile.debian debian_sys_config
150 install_postgres_server:
151 make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)"
153 # note: if/when grunt-cli and bower are available as
154 # packages, use the packaged versions instead.
156 make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
158 npm install -g grunt-cli
161 install_translator: install_developer
162 make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
164 install_packager: install_developer install_translator
165 make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
168 make -f $(DIR)/Makefile.common clean
169 make -f $(DIR)/Makefile.debian clean
171 # vim:noet:sw=4:ts=4: