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
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.10.0
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
:01dae00dc0faa37a4b7a84098e2f04631827fc42e319eb66ccc3ab1d561ea42d
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
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