|
|
@ -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() { |
|
|
|