nodejs: update to 13.2.0. [ci skip]

This commit is contained in:
k4leg 2019-11-03 12:19:04 +03:00 committed by Leah Neukirchen
parent dee5a098f7
commit c6175b4dd3
2 changed files with 14 additions and 4 deletions

1
srcpkgs/nodejs-devel Symbolic link
View file

@ -0,0 +1 @@
nodejs

View file

@ -1,6 +1,6 @@
# Template file for 'nodejs' # Template file for 'nodejs'
pkgname=nodejs pkgname=nodejs
version=12.11.1 version=13.2.0
revision=1 revision=1
wrksrc="node-v${version}" wrksrc="node-v${version}"
# Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079 # Need these for host v8 for torque, see https://github.com/nodejs/node/pull/21079
@ -17,7 +17,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://nodejs.org/" homepage="https://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz" distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
checksum=37043ddbe60f18a52ec31e0381b66adebbc0ec24669d72f132a1fdfacdf029ae checksum=379dcecb721984a99dc9e16c2a096d6eb7a760d50b188582d9ce33e0478a1a5e
build_options="ssl libuv http_parser icu nghttp2 cares" build_options="ssl libuv http_parser icu nghttp2 cares"
desc_option_ssl="Enable shared libressl" desc_option_ssl="Enable shared libressl"
@ -29,7 +29,7 @@ desc_option_cares="Enable shared c-ares"
build_options_default="libuv http_parser icu nghttp2 cares" build_options_default="libuv http_parser icu nghttp2 cares"
replaces="iojs>=0" replaces="iojs>=0"
conflicts="nodejs-lts" conflicts="nodejs-lts nodejs-lts-10"
provides="nodejs-runtime-0_1" provides="nodejs-runtime-0_1"
if [ "$XBPS_WORDSIZE" -ne "$XBPS_TARGET_WORDSIZE" ]; then if [ "$XBPS_WORDSIZE" -ne "$XBPS_TARGET_WORDSIZE" ]; then
@ -102,8 +102,17 @@ do_build() {
make LD="$CXX" LDFLAGS+=-ldl ${makejobs} V=1 make LD="$CXX" LDFLAGS+=-ldl ${makejobs} V=1
fi fi
} }
do_install() { do_install() {
make LD="$CXX" LDFLAGS+=-ldl DESTDIR="$DESTDIR" install make LD="$CXX" LDFLAGS+=-ldl DESTDIR="$DESTDIR" install
rm $DESTDIR/usr/include/node/openssl -rf
vlicense LICENSE vlicense LICENSE
rm -r $DESTDIR/usr/include }
nodejs-devel_package() {
short_desc+=" (development files)"
conflicts="nodejs-lts-devel nodejs-lts-10-devel"
pkg_install() {
vmove usr/include
}
} }