forked from SynoCommunity/spksrc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added g++-multilib package to Dockerfile for 32 bits cross-compilation Published as beta
- Loading branch information
1 parent
74d6347
commit b9f7d04
Showing
7 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ RUN apt-get update && \ | |
debootstrap \ | ||
expect \ | ||
flex \ | ||
g++-multilib \ | ||
gettext \ | ||
git \ | ||
gperf \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.