From c173be722743f371bfb4c06203a566ebaef781ff Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 14 Apr 2020 16:39:24 +0300 Subject: [PATCH] nodejs: specify clang, make, pkg-config, python as suggested packages They are frequently used when `npm` installs something with native extensions. --- packages/nodejs/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/nodejs/build.sh b/packages/nodejs/build.sh index a65cf31cc..e43cec5f3 100644 --- a/packages/nodejs/build.sh +++ b/packages/nodejs/build.sh @@ -2,18 +2,19 @@ TERMUX_PKG_HOMEPAGE=https://nodejs.org/ TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_VERSION=13.0.0 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=45ff3b40afc3fc93fd62e31c0f5dfa046f307f0b33d0f32e09019f306bc74767 # Note that we do not use a shared libuv to avoid an issue with the Android # linker, which does not use symbols of linked shared libraries when resolving # symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462. TERMUX_PKG_DEPENDS="libc++, openssl, c-ares, libicu, zlib" -TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make.bat share/systemtap lib/dtrace" -TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_CONFLICTS="nodejs-lts, nodejs-current" TERMUX_PKG_BREAKS="nodejs-dev" TERMUX_PKG_REPLACES="nodejs-current, nodejs-dev" +TERMUX_PKG_SUGGESTS="clang, make, pkg-config, python" +TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make.bat share/systemtap lib/dtrace" +TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_HOSTBUILD=true termux_step_post_extract_package() {