Andreas Wacknitz
2024-01-11 e96d18996039d1425f46fabcfd2f31fb39e9a90a
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
e96d18 19 COMPONENT_VERSION=        $(COMPONENT_MAJOR_VERSION).11.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
e96d18 24 COMPONENT_ARCHIVE_HASH=    sha256:31807ebeeeb049c53f1765e4a95aed69476a4b696dd100cb539ab668d7950b40
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