summaryrefslogtreecommitdiff
path: root/nodejs/Makefile
blob: a1a20a3a866ed5f3cf6186ae4860f84881d4a4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
include /usr/share/cibs/rules/ips.mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/patch.mk
include /usr/share/cibs/rules/copy.mk
include /usr/share/cibs/rules/64.mk
# Not autotools, but similar:
include /usr/share/cibs/rules/autotools.mk

# Must run from the current directory:
configure := ./configure

# Flock wrapper even does not return error on failure:
export LINK = $(CXX)

name := nodejs
version := 0.8.15
home := http://nodejs.org
archive := node-v$(version).tar.gz
download := http://nodejs.org/dist/v$(version)/$(archive)
checksum := \
     md5:6cb31180b07475db103e694f65e8bb9b \
    sha1:a7874cde1a87497992f1f8ea0fdaa760f617a94f \
  sha256:1758639c6df3e081fe26585472d0f1961c5703b44ba6c57ecdf66a4c015792b1 \
    size:11867033

summary := event-based server-side javascript engine
license := BSD
license-file := LICENSE

build-depends += \
	library/libv8 \
	library/c-ares \
	library/libev \
	library/zlib \
	library/openssl

# Node.js configure is a autotools lookalike confuserator:
configure-options := \
	--dest-os=solaris \
	--prefix=/usr \
	--without-npm \
	--shared-v8 \
	--shared-zlib \
	--shared-openssl \
	--no-ssl2