Added node.js package.

This commit is contained in:
Jose Pinto 2013-09-14 23:49:40 +01:00
parent e50b1c84d3
commit eb7b97af99
2 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,38 @@
version=\
(
'0.10.18'
)
url=\
(
"http://nodejs.org/dist/v0.10.18/node-v$version.tar.gz"
)
md5=\
(
'8b905b6013b82fb7076b02a6c881f9a6'
)
maintainer=\
(
'Jose Pinto <zepinto@fe.up.pt>'
)
configure()
{
"../node-v$version/configure" --without-snapshot --prefix="${cfg_dir_rootfs}"
}
build()
{
cd "../node-v$version"
$cmd_make
}
target_install()
{
cd "../node-v$version"
$cmd_make install
}

View File

@ -0,0 +1,37 @@
version=\
(
'0.10.18'
)
url=\
(
"http://nodejs.org/dist/v0.10.18/node-v$version.tar.gz"
)
md5=\
(
'8b905b6013b82fb7076b02a6c881f9a6'
)
maintainer=\
(
'Jose Pinto <zepinto@fe.up.pt>'
)
configure()
{
"../node-v$version/configure" --without-snapshot --prefix="$cfg_dir_toolchain"
}
build()
{
cd "../node-v$version"
$cmd_make
}
host_install()
{
$cmd_make install
}