mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 22:27:02 +02:00
nodejs: update to 13.2.0. [ci skip]
This commit is contained in:
parent
dee5a098f7
commit
c6175b4dd3
2 changed files with 14 additions and 4 deletions
1
srcpkgs/nodejs-devel
Symbolic link
1
srcpkgs/nodejs-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
nodejs
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'nodejs'
|
||||
pkgname=nodejs
|
||||
version=12.11.1
|
||||
version=13.2.0
|
||||
revision=1
|
||||
wrksrc="node-v${version}"
|
||||
# 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"
|
||||
homepage="https://nodejs.org/"
|
||||
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
|
||||
checksum=37043ddbe60f18a52ec31e0381b66adebbc0ec24669d72f132a1fdfacdf029ae
|
||||
checksum=379dcecb721984a99dc9e16c2a096d6eb7a760d50b188582d9ce33e0478a1a5e
|
||||
|
||||
build_options="ssl libuv http_parser icu nghttp2 cares"
|
||||
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"
|
||||
|
||||
replaces="iojs>=0"
|
||||
conflicts="nodejs-lts"
|
||||
conflicts="nodejs-lts nodejs-lts-10"
|
||||
provides="nodejs-runtime-0_1"
|
||||
|
||||
if [ "$XBPS_WORDSIZE" -ne "$XBPS_TARGET_WORDSIZE" ]; then
|
||||
|
@ -102,8 +102,17 @@ do_build() {
|
|||
make LD="$CXX" LDFLAGS+=-ldl ${makejobs} V=1
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make LD="$CXX" LDFLAGS+=-ldl DESTDIR="$DESTDIR" install
|
||||
rm $DESTDIR/usr/include/node/openssl -rf
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue