export LIBDBI_DRIVERS=libdbi-drivers-0.8.3
export LIBDBI_HOST=http://open-ils.org/~denials/evergreen
-# some OSes require a source install of NodeJS.
-# NOTE: Deprecate me with wheezy
-export NODEJS_SOURCE_VERSION=v0.10.28
+# some OSes require a newer version of NodeJS
+# NOTE: Using the LTS binaries for NodeJS
+export NODEJS_VERSION=v6.10.1
+export NODEJS_BINDIR=node-$(NODEJS_VERSION)-linux-x64
+export NODEJS_TARBIN=$(NODEJS_BINDIR).tar.xz
+export NODEJS_BINARY="https://nodejs.org/dist/$(NODEJS_VERSION)/$(NODEJS_TARBIN)"
# As this Makefile is designed to be used by a make process running as
# root, this will avoid problems on some systems when tar extracts
--with-pgsql --with-pgsql-incdir=$$(pg_config --includedir) \
--with-pgsql-libdir=$$(pg_config --libdir) && make all install
-# NOTE: Deprecate me with wheezy
+# NOTE: Use the NodeJS Binary
install_nodejs_from_source:
- git clone https://github.com/joyent/node.git
- cd node; \
- git checkout -b $(NODEJS_SOURCE_VERSION) $(NODEJS_SOURCE_VERSION); \
- ./configure && make && make install
+ wget -N $(NODEJS_BINARY)
+ tar -C /usr/local --strip-components 1 -xJf $(NODEJS_TARBIN)
npm update
npm install -g grunt-cli
DEVELOPER_DEBS = \
automake \
autoconf \
- libtool \
- nodejs-legacy \
- npm
+ libtool
PACKAGER_DEBS = \
asciidoc \
# package, use the packaged version instead.
install_developer:
make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
- npm update
- npm install -g grunt-cli
+ make -f $(DIR)/Makefile.common install_nodejs_from_source
install_translator: install_developer
make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"