rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / runtime / node18 / Makefile
blob196b7439a45b52a4db32fefecf140cdcc935b78b
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.
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.
12 # Copyright 2022 Andreas Wacknitz <a.wacknitz@gmx.de>
15 USE_PARALLEL_BUILD= yes
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= node
19 COMPONENT_MAJOR_VERSION= 18
20 COMPONENT_VERSION= $(COMPONENT_MAJOR_VERSION).20.4
21 COMPONENT_SUMMARY= Evented I/O for V8 JavaScript.
22 COMPONENT_PROJECT_URL= https://nodejs.org
23 COMPONENT_SRC= $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= sha256:a76c7ea1b96aeb6963a158806260c8094b6244d64a696529d020547b9a95ca2a
26 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/dist/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
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
32 TEST_TARGET= $(NO_TESTS)
33 include $(WS_MAKE_RULES)/common.mk
35 PATH= $(PATH.gnu)
37 COMPONENT_PRE_CONFIGURE_ACTION= ( CLONEY_MODE=hardlink $(CLONEY) $(SOURCE_DIR) $(@D) )
39 CONFIGURE_SCRIPT= $(@D)/configure
41 CONFIGURE_OPTIONS = --prefix=/usr/node/$(COMPONENT_MAJOR_VERSION)
42 CONFIGURE_OPTIONS += --dest-cpu=x64
43 CONFIGURE_OPTIONS += --with-dtrace
45 # Manually added build-dependencies
46 PYTHON_REQUIRED_PACKAGES += runtime/python
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