David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
commit | author | age
836119 1 #
AW 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright 2023 Andreas Wacknitz <a.wacknitz@gmx.de>
13 #
14
97a780 15 USE_PARALLEL_BUILD= yes
836119 16 include ../../../make-rules/shared-macros.mk
AW 17
18 COMPONENT_NAME=            node
19 COMPONENT_MAJOR_VERSION=    20
97a780 20 COMPONENT_VERSION=        $(COMPONENT_MAJOR_VERSION).12.0
836119 21 COMPONENT_SUMMARY=        Evented I/O for V8 JavaScript.
AW 22 COMPONENT_PROJECT_URL=    https://nodejs.org
23 COMPONENT_SRC=            $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.xz
97a780 25 COMPONENT_ARCHIVE_HASH=    sha256:76e5346cebfd581528f699f764f4d1a6e87cb818b696708f235ddcb625a0f78d
836119 26 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/dist/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
AW 27 COMPONENT_CLASSIFICATION=    Development/Other Languages
28 COMPONENT_FMRI=            runtime/nodejs-$(COMPONENT_MAJOR_VERSION)
29 COMPONENT_LICENSE=        BSD-like, MIT, Apache
30 COMPONENT_LICENSE_FILE=    LICENSE
31
32 TEST_TARGET = $(NO_TESTS)
33 include $(WS_MAKE_RULES)/common.mk
34
35 PATH = $(PATH.gnu)
36
37 COMPONENT_PRE_CONFIGURE_ACTION = ( cp -a $(SOURCE_DIR)/* $(@D) )
38
39 CONFIGURE_SCRIPT = $(@D)/configure
40
41 CONFIGURE_OPTIONS  = --prefix=/usr/node/$(COMPONENT_MAJOR_VERSION)
42 CONFIGURE_OPTIONS += --dest-cpu=x64
43
44 # Manually added build-dependencies
45 PYTHON_REQUIRED_PACKAGES += runtime/python
46
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
49 REQUIRED_PACKAGES += SUNWcs
50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += system/library/math