summaryrefslogtreecommitdiff
path: root/nodejs/Makefile
blob: 2ea9b77ad39ba5f2ec2c21c1c2d4857d5700b6be (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
47
48
49
package ?= ips

include /usr/share/cibs/rules/$(package).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.20
home := http://nodejs.org
archive := node-v$(version).tar.gz
download := http://nodejs.org/dist/v$(version)/$(archive)
checksum-node-v0.8.20.tar.gz := \
     md5:dd8a977b8f38d6ccba25540fa8a8ffce \
    sha1:b780f58f0e3bc43d2380d4a935f2b45350783b37 \
  sha256:e4461bfded531f4880839829ab3bce5b824905d6e181876e3d0309a366bf57ee \
    size:12190186

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