@ -8,12 +8,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := node
PKG_NAME := node
PKG_VERSION := v16.14.2
PKG_VERSION := v16.15.0
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://nodejs.org/dist/$( PKG_VERSION)
PKG_SOURCE_URL := https://nodejs.org/dist/$( PKG_VERSION)
PKG_HASH := e922e215cc68eb5f94d33e8a0b61e2c863b7731cc8600ab955d3822da90ff8d1
PKG_HASH := a0f812efc43f78321eca08957960a48f5e6bf97004d5058c8dd3b03c646ea4f7
PKG_MAINTAINER := Hirokazu MORIKAWA <morikw2@gmail.com>, Adrian Panella <ianchi74@outlook.com>
PKG_MAINTAINER := Hirokazu MORIKAWA <morikw2@gmail.com>, Adrian Panella <ianchi74@outlook.com>
PKG_LICENSE := MIT
PKG_LICENSE := MIT
@ -141,7 +141,6 @@ define Package/node/install
e n d e f
e n d e f
d e f i n e P a c k a g e / n o d e - n p m / i n s t a l l
d e f i n e P a c k a g e / n o d e - n p m / i n s t a l l
$( RM) $( 1) /usr/lib/node_modules/npm
$( INSTALL_DIR) $( 1) /usr/lib/node_modules/npm
$( INSTALL_DIR) $( 1) /usr/lib/node_modules/npm
$( CP) $( PKG_INSTALL_DIR) /usr/lib/node_modules/npm/{ package.json,LICENSE} \
$( CP) $( PKG_INSTALL_DIR) /usr/lib/node_modules/npm/{ package.json,LICENSE} \
$( 1) /usr/lib/node_modules/npm/
$( 1) /usr/lib/node_modules/npm/
@ -154,6 +153,11 @@ define Package/node-npm/install
$( LN) ../lib/node_modules/npm/bin/npx-cli.js $( 1) /usr/bin/npx
$( LN) ../lib/node_modules/npm/bin/npx-cli.js $( 1) /usr/bin/npx
e n d e f
e n d e f
d e f i n e H o s t / I n s t a l l
$( RM) -rf $( 1) /lib/node_modules/npm
$( call Host/Install/Default)
e n d e f
$( eval $ ( call HostBuild ) )
$( eval $ ( call HostBuild ) )
$( eval $ ( call BuildPackage ,node ) )
$( eval $ ( call BuildPackage ,node ) )
$( eval $ ( call BuildPackage ,node -npm ) )
$( eval $ ( call BuildPackage ,node -npm ) )