# install files for Ubuntu 14.04 LTS Trusty Tahr DIR = $(dir $(lastword $(MAKEFILE_LIST))) export DEB_PGSQL_COMMON_MODS = \ gcc \ libbusiness-isbn-perl \ libjson-xs-perl \ liblibrary-callnumber-lc-perl \ libmarc-record-perl \ libmarc-xml-perl \ librose-uri-perl \ libuuid-tiny-perl \ libxml-libxml-perl \ libxml-libxslt-perl export DEBS = \ $(DEB_PGSQL_COMMON_MODS) \ apache2-prefork-dev\ aspell\ aspell-en\ libbusiness-creditcard-perl\ libbusiness-edi-perl \ libbusiness-isbn-data-perl\ libbusiness-issn-perl\ libbusiness-onlinepayment-authorizenet-perl\ libbusiness-onlinepayment-perl\ libdate-manip-perl\ libdatetime-format-builder-perl\ libdatetime-format-iso8601-perl\ libdatetime-format-mail-perl\ libdatetime-perl\ libdatetime-set-perl\ libdatetime-timezone-perl\ libdbd-pg-perl\ libdbd-pgsql \ libdbi-dev \ libemail-send-perl\ libemail-simple-perl\ libexcel-writer-xlsx-perl\ libgd-graph3d-perl\ liblocale-maketext-lexicon-perl\ liblog-log4perl-perl\ libmarc-charset-perl \ libncurses5-dev\ libnet-https-any-perl \ libnet-ip-perl\ libnet-ldap-perl \ libnet-server-perl\ libnet-ssh2-perl\ libnet-z3950-simple2zoom-perl\ libnet-z3950-simpleserver-perl\ libnet-z3950-zoom-perl \ libnspr4-dev\ libole-storage-lite-perl\ libbz2-dev \ libpq5\ libpq-dev\ librpc-xml-perl\ libsru-perl\ libssh2-1-dev\ libtemplate-plugin-posix-perl\ libtest-output-perl\ libtext-aspell-perl\ libtext-csv-perl\ libuniversal-require-perl\ libunix-syslog-perl\ libyaz-dev\ postgresql-client-9.3\ libsoap-lite-perl\ libtest-warn-perl\ libparse-recdescent-perl\ yaz export DEB_APACHE_MODS = \ cgi\ expires\ include\ proxy\ proxy_http\ rewrite export DEB_APACHE_DISMODS = \ deflate export DEB_APACHE_DISCONF = \ serve-cgi-bin export CPAN_MODULES = \ Business::CreditCard::Object \ Business::OnlinePayment::PayPal \ Safe export CPAN_MODULES_FORCE = \ Business::Stripe \ Class::DBI::Frozen::301 PGSQL_SERVER_DEBS_93 = \ $(DEB_PGSQL_COMMON_MODS) \ postgresql-9.3 \ postgresql-contrib-9.3 \ postgresql-plperl-9.3 \ postgresql-server-dev-9.3 # nodejs-legacy creates a symlink for /usr/bin/node -> /usr/bin/nodejs # which is needed by our npm-installed packages DEVELOPER_DEBS = \ nodejs-legacy \ npm PACKAGER_DEBS = \ translate-toolkit \ python-dev \ python-levenshtein \ python-polib \ python-setuptools \ python-simplejson \ python-lxml \ zip \ unzip \ nsis all: make -f $(DIR)/Makefile.debian install_debs make -f $(DIR)/Makefile.debian test_for_libdbi_pkg make -f $(DIR)/Makefile.common install_cpan make -f $(DIR)/Makefile.common install_cpan_force make -f $(DIR)/Makefile.debian install_js_sm make -f $(DIR)/Makefile.debian debian_sys_config install_postgres_server: make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_93)" # note: if/when grunt-cli and bower are available as # packages, use the packaged versions instead. install_developer: make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)" npm update npm install -g grunt-cli npm install -g bower install_packager: make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)" clean: make -f $(DIR)/Makefile.common clean make -f $(DIR)/Makefile.debian clean # vim:noet:sw=4:ts=4: