nodejs-lts-10: update to 10.24.0.

This commit is contained in:
John 2021-03-21 19:28:20 +01:00
parent 3dd720ce75
commit fefffea5d7

View file

@ -1,6 +1,6 @@
# Template file for 'nodejs-lts-10'
pkgname=nodejs-lts-10
version=10.23.1
version=10.24.0
revision=1
wrksrc="node-v${version}"
hostmakedepends="pkg-config python zlib-devel which $(vopt_if icu icu-devel)
@ -11,12 +11,13 @@ makedepends="zlib-devel python-devel $(vopt_if icu icu-devel)
$(vopt_if ssl openssl-devel) $(vopt_if libuv libuv-devel)
$(vopt_if http_parser http-parser-devel) $(vopt_if nghttp2 nghttp2-devel)
$(vopt_if cares c-ares-devel)"
checkdepends="procps-ng"
short_desc="Evented I/O for V8 javascript (Dubnium)"
maintainer="k4leg <d0xi@inbox.ru>"
license="MIT"
homepage="https://nodejs.org/"
distfiles="${homepage}/download/release/v${version}/node-v${version}.tar.xz"
checksum=88aa16f5af79615b183ca55ed81393763169e75d1fb96013cf1831895c6cedfa
checksum=158273af66f891b2fca90aec7336c42f7574f467affad02c14e80ca163cb3acc
python_version=2 #unverified
build_options="ssl libuv http_parser icu nghttp2 cares"
@ -26,7 +27,7 @@ desc_option_http_parser="Enable shared http-parser"
desc_option_icu="Enable shared icu"
desc_option_nghttp2="Enable shared nghttp2"
desc_option_cares="Enable shared c-ares"
build_options_default="libuv http_parser icu nghttp2 cares"
build_options_default="ssl libuv http_parser icu nghttp2 cares"
replaces="iojs>=0"
conflicts="nodejs nodejs-lts"
@ -85,6 +86,10 @@ do_build() {
fi
}
do_check() {
make LD="$CXX" LDFLAGS+=-ldl ${makejobs} V=1 test-only
}
do_install() {
make LD="$CXX" LDFLAGS+=-ldl DESTDIR="$DESTDIR" install
rm $DESTDIR/usr/include/node/openssl -rf