2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/nodejs/build
2021-07-06 16:04:54 +03:00

24 lines
505 B
Bash
Executable File

#!/bin/sh -e
./configure \
--shared-zlib \
--with-intl=none \
--without-etw \
--without-dtrace \
--without-report \
--without-node-snapshot \
--without-node-code-cache \
--partly-static \
--ninja
ninja -C out/Release
tools/install.py install "$1" /usr
# Remove unneeded files.
rm -rf \
"$1/usr/include/node/openssl" \
"$1/usr/share/doc" \
"$1/usr/share/systemtap" \
"$1/usr/lib/node_modules/npm/scripts" \
"$1/usr/lib/node_modules/npm/configure"