Andreas Wacknitz
2023-09-07 aafda258a4e7a276c406137e7e6282765662dd07
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
15 include ../../../make-rules/shared-macros.mk
16
17 COMPONENT_NAME=            node
18 COMPONENT_MAJOR_VERSION=    20
aafda2 19 COMPONENT_VERSION=        $(COMPONENT_MAJOR_VERSION).6.0
836119 20 COMPONENT_SUMMARY=        Evented I/O for V8 JavaScript.
AW 21 COMPONENT_PROJECT_URL=    https://nodejs.org
22 COMPONENT_SRC=            $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.xz
aafda2 24 COMPONENT_ARCHIVE_HASH=    sha256:9efb5cba7a8f4b18d38b0d7d37a9b30ded73390c84e380cf4de89a9d30a7d6fa
836119 25 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/dist/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
AW 26 COMPONENT_CLASSIFICATION=    Development/Other Languages
27 COMPONENT_FMRI=            runtime/nodejs-$(COMPONENT_MAJOR_VERSION)
28 COMPONENT_LICENSE=        BSD-like, MIT, Apache
29 COMPONENT_LICENSE_FILE=    LICENSE
30
31 TEST_TARGET = $(NO_TESTS)
32 include $(WS_MAKE_RULES)/common.mk
33
34 PATH = $(PATH.gnu)
35
36 COMPONENT_PRE_CONFIGURE_ACTION = ( cp -a $(SOURCE_DIR)/* $(@D) )
37
38 CONFIGURE_SCRIPT = $(@D)/configure
39
40 CONFIGURE_OPTIONS  = --prefix=/usr/node/$(COMPONENT_MAJOR_VERSION)
41 CONFIGURE_OPTIONS += --dest-cpu=x64
42
43 # Manually added build-dependencies
44 PYTHON_REQUIRED_PACKAGES += runtime/python
45
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
48 REQUIRED_PACKAGES += SUNWcs
49 REQUIRED_PACKAGES += system/library
50 REQUIRED_PACKAGES += system/library/math