nodejs: update to 0.10.0.
This commit is contained in:
parent
f579fa0120
commit
22c44061cc
|
@ -1 +0,0 @@
|
||||||
nodejs
|
|
|
@ -1 +0,0 @@
|
||||||
nodejs
|
|
|
@ -1,9 +0,0 @@
|
||||||
# Template file for 'nodejs-devel'.
|
|
||||||
#
|
|
||||||
noarch=yes
|
|
||||||
depends="nodejs>=${version}"
|
|
||||||
short_desc="${short_desc} - Development files"
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vmove usr/include usr
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
# Template file for 'nodejs-docs'.
|
|
||||||
#
|
|
||||||
noarch=yes
|
|
||||||
short_desc="${short_desc} - Documentation"
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vmove usr/share/man usr/share
|
|
||||||
vmkdir usr/share/doc/nodejs
|
|
||||||
cp -r ${wrksrc}/doc/api ${DESTDIR}/usr/share/doc/nodejs
|
|
||||||
}
|
|
|
@ -1,22 +1,28 @@
|
||||||
# Template file for 'nodejs'
|
# Template file for 'nodejs'
|
||||||
pkgname=nodejs
|
pkgname=nodejs
|
||||||
version=0.8.20
|
version=0.10.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=node-v${version}
|
wrksrc=node-v${version}
|
||||||
build_style=configure
|
|
||||||
configure_args="--prefix=/usr --openssl-use-sys --shared-v8 --shared-zlib"
|
|
||||||
short_desc="Evented I/O for V8 javascript"
|
short_desc="Evented I/O for V8 javascript"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://nodejs.org/"
|
homepage="http://nodejs.org/"
|
||||||
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
|
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
|
||||||
checksum=e4461bfded531f4880839829ab3bce5b824905d6e181876e3d0309a366bf57ee
|
checksum=1624dc37866ebfb5431e3393e6b049cf238cac8ad4d20c6d567263b1259177ab
|
||||||
|
|
||||||
nostrip=yes
|
|
||||||
subpackages="${pkgname}-devel ${pkgname}-docs"
|
|
||||||
makedepends="pkg-config openssl-devel v8-devel zlib-devel"
|
makedepends="pkg-config openssl-devel v8-devel zlib-devel"
|
||||||
fulldepends="python"
|
fulldepends="python"
|
||||||
|
|
||||||
post_install() {
|
do_configure() {
|
||||||
|
export LD="$CXX"
|
||||||
|
./configure --prefix=/usr --openssl-use-sys --shared-v8 --shared-zlib
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make LD="$CXX" ${makejobs}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make LD="$CXX" DESTDIR="$DESTDIR" install
|
||||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue