aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nodejs/nodejs_0.2.0.bb
blob: 83bfa2e4dd61df8e8361ca3247e19d1b4cb40ae2 (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
DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
HOMEPAGE = "http://nodejs.org"
LICENSE = "MIT"
DEPENDS = "openssl"
SRC_URI = " \
  http://nodejs.org/dist/node-v${PV}.tar.gz \
  file://node-cross-cc.patch \
  file://libev-cross-cc.patch \
  file://node-dont-include-hosts-usr-include.patch \
"
#file://libev-arm-cross.patch \
SRC_URI[md5sum] = "99a6dacc44b3f9c6ec376ccb446dd0b8"
SRC_URI[sha256sum] = "3d3eff9287c9917af4044f3cef99ae5b17946710a71e83039de4fcb4b0a26631"
S = "${WORKDIR}/node-v${PV}"
do_configure () {
  ./configure --prefix=${D} --without-snapshot
}
do_compile () {
  make
}
do_install () {
  #oe_runmake install # doesn't install to correct location

  # This works
  install -d ${D}${bindir}/
  install -m 0755 ${S}/node ${D}${bindir}/
}
FILES_${PN} = "${bindir}/node"