nodejs-6: Update to version 6.9.4
[unleashed-userland.git] / components / runtime / node6 / Makefile
blobd50792129a1df88421285bee81dc5b8c39a7f5f3
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 2015 EveryCity Ltd. All rights reserved.
13 # Copyright 2016 Alexander Pyhalov
14 # Copyright 2016, 2017 Andreas Wacknitz
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= node
20 COMPONENT_FMRI= runtime/nodejs-6
21 COMPONENT_SUMMARY= Evented I/O for V8 JavaScript.
22 COMPONENT_CLASSIFICATION= Development/Other Languages
23 COMPONENT_PROJECT_URL= http://nodejs.org
24 COMPONENT_VERSION= 6.9.4
25 COMPONENT_LICENSE= BSD-like, MIT, Apache
26 COMPONENT_LICENSE_FILE= node.license
27 COMPONENT_SRC= $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
29 COMPONENT_ARCHIVE_HASH= sha256:f0257c83eb5e8b0e7b09db7264dc1e93e1f024c6dfccb098363b4fb0c192cf7f
30 COMPONENT_ARCHIVE_URL= http://nodejs.org/dist/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
32 include $(WS_MAKE_RULES)/prep.mk
33 include $(WS_MAKE_RULES)/configure.mk
34 include $(WS_MAKE_RULES)/ips.mk
36 # Include /usr/sbin for dtrace
37 PATH=/usr/bin:/usr/gnu/bin:/usr/sfw/bin:/usr/sbin
39 CONFIG_SHELL = $(PYTHON)
41 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
43 CONFIGURE_SCRIPT = $(@D)/configure
45 CONFIGURE_OPTIONS= --prefix=/usr/node/6
47 build: $(BUILD_32)
49 install: $(INSTALL_32)
51 REQUIRED_PACKAGES += SUNWcs
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/g++-4-runtime
54 REQUIRED_PACKAGES += system/library/math