David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
commit | author | age
1824df 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 2022 Andreas Wacknitz <a.wacknitz@gmx.de>
13 #
14
2c9a9e 15 USE_PARALLEL_BUILD= yes
1824df 16 include ../../../make-rules/shared-macros.mk
AW 17
18 COMPONENT_NAME=            node
19 COMPONENT_MAJOR_VERSION=    18
11913f 20 COMPONENT_VERSION=        $(COMPONENT_MAJOR_VERSION).20.0
1824df 21 COMPONENT_SUMMARY=        Evented I/O for V8 JavaScript.
86976c 22 COMPONENT_PROJECT_URL=    https://nodejs.org
1824df 23 COMPONENT_SRC=            $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
AW 24 COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.xz
11913f 25 COMPONENT_ARCHIVE_HASH=    sha256:04c86779a2cc7eefdfcf379a9d85883aa1d3b1dc8909b6221b163684817856a4
86976c 26 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/dist/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1824df 27 COMPONENT_CLASSIFICATION=    Development/Other Languages
AW 28 COMPONENT_FMRI=            runtime/nodejs-$(COMPONENT_MAJOR_VERSION)
29 COMPONENT_LICENSE=        BSD-like, MIT, Apache
e5d128 30 COMPONENT_LICENSE_FILE=    LICENSE
1824df 31
dfa333 32 TEST_TARGET = $(NO_TESTS)
1824df 33 include $(WS_MAKE_RULES)/common.mk
AW 34
dfa333 35 PATH = $(PATH.gnu)
1824df 36
AW 37 COMPONENT_PRE_CONFIGURE_ACTION = (cp -a $(SOURCE_DIR)/* $(@D))
38
39 CONFIGURE_SCRIPT = $(@D)/configure
40
dfa333 41 CONFIGURE_OPTIONS  = --prefix=/usr/node/$(COMPONENT_MAJOR_VERSION)
AW 42 CONFIGURE_OPTIONS += --dest-cpu=x64
43 CONFIGURE_OPTIONS += --with-dtrace
1824df 44
AW 45 # Manually added build-dependencies
4c586f 46 PYTHON_REQUIRED_PACKAGES += runtime/python
1824df 47
AW 48 # Auto-generated dependencies
49 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
50 REQUIRED_PACKAGES += SUNWcs
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/math