mirror of
https://github.com/leonardw/synology-open-vm-tools.git
synced 2025-07-23 02:58:26 +00:00
nodejs: package creation 10.15.3
Added g++-multilib package to Dockerfile for 32 bits cross-compilation Published as beta
This commit is contained in:

committed by
Yves Martin

parent
74d63479d9
commit
b9f7d04cac
@ -23,6 +23,7 @@ RUN apt-get update && \
|
||||
debootstrap \
|
||||
expect \
|
||||
flex \
|
||||
g++-multilib \
|
||||
gettext \
|
||||
git \
|
||||
gperf \
|
||||
|
53
cross/nodejs/Makefile
Normal file
53
cross/nodejs/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
PKG_NAME = nodejs
|
||||
PKG_VERS = v10.15.3
|
||||
PKG_EXT = tar.gz
|
||||
PKG_DIST_NAME = node-$(PKG_VERS).$(PKG_EXT)
|
||||
PKG_DIST_SITE = https://nodejs.org/dist/$(PKG_VERS)
|
||||
PKG_DIR = node-$(PKG_VERS)
|
||||
|
||||
UNSUPPORTED_ARCHS = 88f6281 hi3535 ppc853x qoriq
|
||||
|
||||
HOMEPAGE = http://www.nodejs.org
|
||||
COMMENT = A JavaScript runtime built on Chrome\'s V8 JavaScript engine.
|
||||
LICENSE = https://github.com/nodejs/node/raw/master/LICENSE
|
||||
|
||||
CONFIGURE_ARGS = --cross-compiling --dest-os=linux --prefix=$(INSTALL_PREFIX)
|
||||
|
||||
include ../../mk/spksrc.cross-cc.mk
|
||||
|
||||
ifeq ($(findstring $(ARCH),$(ARM5_ARCHES)),$(ARCH))
|
||||
ENV += CC_host="gcc -m32"
|
||||
ENV += CXX_host="g++ -m32"
|
||||
CONFIGURE_ARGS += --dest-cpu=arm
|
||||
endif
|
||||
|
||||
ifeq ($(findstring $(ARCH),$(ARM7_ARCHES)),$(ARCH))
|
||||
ENV += CC_host="gcc -m32"
|
||||
ENV += CXX_host="g++ -m32"
|
||||
CONFIGURE_ARGS += --dest-cpu=arm
|
||||
endif
|
||||
|
||||
ifeq ($(findstring $(ARCH),$(ARM8_ARCHES)),$(ARCH))
|
||||
ENV += CC_host=gcc
|
||||
ENV += CXX_host=g++
|
||||
CONFIGURE_ARGS += --dest-cpu=arm64
|
||||
endif
|
||||
|
||||
ifeq ($(findstring $(ARCH),$(x86_ARCHES)),$(ARCH))
|
||||
ENV += CC_host="gcc -m32"
|
||||
ENV += CXX_host="g++ -m32"
|
||||
CONFIGURE_ARGS += --dest-cpu=x86
|
||||
endif
|
||||
|
||||
ifeq ($(findstring $(ARCH),$(x64_ARCHES)),$(ARCH))
|
||||
ENV += CC_host=gcc
|
||||
ENV += CXX_host=g++
|
||||
CONFIGURE_ARGS += --dest-cpu=x86_64 --openssl-no-asm
|
||||
endif
|
||||
|
||||
ifeq ($(findstring $(ARCH),$(PPC_ARCHES)),$(ARCH))
|
||||
ENV += CC_host="gcc -m32"
|
||||
ENV += CXX_host="g++ -m32"
|
||||
CONFIGURE_ARGS += --dest-cpu=ppc
|
||||
endif
|
||||
|
10
cross/nodejs/PLIST
Normal file
10
cross/nodejs/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
bin:bin/node
|
||||
rsc:bin/npm
|
||||
rsc:bin/npx
|
||||
rsc:lib/node_modules/npm/AUTHORS
|
||||
rsc:lib/node_modules/npm/bin/*
|
||||
rsc:lib/node_modules/npm/lib/*
|
||||
rsc:lib/node_modules/npm/LICENSE
|
||||
rsc:lib/node_modules/npm/node_modules/*
|
||||
rsc:lib/node_modules/npm/package.json
|
||||
rsc:lib/node_modules/npm/scripts/*
|
3
cross/nodejs/digests
Normal file
3
cross/nodejs/digests
Normal file
@ -0,0 +1,3 @@
|
||||
node-v10.15.3.tar.gz SHA1 b64774eea1a877829d6882b92dd86af8d3459498
|
||||
node-v10.15.3.tar.gz SHA256 db460a63d057ac015b75bb6a879fcbe2fefaaf22afa4b6f6445b9db61ce2270d
|
||||
node-v10.15.3.tar.gz MD5 fa0bcf98b918337c0f368bb0674a2489
|
19
spk/nodejs/Makefile
Normal file
19
spk/nodejs/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
SPK_NAME = nodejs
|
||||
SPK_VERS = 10.15.3
|
||||
SPK_REV = 1
|
||||
SPK_ICON = src/node.png
|
||||
|
||||
BETA = 1
|
||||
|
||||
DEPENDS = cross/$(SPK_NAME)
|
||||
|
||||
MAINTAINER = Florian Behrens
|
||||
DESCRIPTION = A JavaScript runtime built on Chrome's V8 JavaScript engine.
|
||||
RELOAD_UI = yes
|
||||
STARTABLE = no
|
||||
DISPLAY_NAME = Node.js
|
||||
|
||||
HOMEPAGE = https://nodejs.org
|
||||
LICENSE = https://github.com/nodejs/node/raw/master/LICENSE
|
||||
|
||||
include ../../mk/spksrc.spk.mk
|
0
spk/nodejs/PLIST
Normal file
0
spk/nodejs/PLIST
Normal file
BIN
spk/nodejs/src/node.png
Normal file
BIN
spk/nodejs/src/node.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user