From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/nodejs/nodejs.xibuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 repo/nodejs/nodejs.xibuild (limited to 'repo/nodejs/nodejs.xibuild') diff --git a/repo/nodejs/nodejs.xibuild b/repo/nodejs/nodejs.xibuild new file mode 100644 index 0000000..b4918c8 --- /dev/null +++ b/repo/nodejs/nodejs.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="nodejs" +DESC="JavaScript runtime built on V8 engine - LTS version" + +MAKEDEPS="make " +DEPS="brotli sbase sort c-ares cacerts openssl musl libnghttp zlib " + +PKG_VER=16.14.2 +SOURCE="https://nodejs.org/dist/v$PKG_VER/node-v$PKG_VER.tar.gz" +ADDITIONAL="fix-build-with-system-c-ares.patch disable-running-gyp-on-shared-deps.patch " + +prepare () { + apply_patches +} + +build () { + + python3 configure.py --prefix=/usr \ + --shared-brotli \ + --shared-zlib \ + --shared-openssl \ + --shared-cares \ + --shared-nghttp2 \ + --ninja \ + --openssl-use-def-ca-store \ + --with-icu-default-data-dir=$(icu-config --icudatadir) \ + --with-intl=small-icu \ + --without-corepack \ + --without-npm + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1