void-packages/srcpkgs/nodejs/template
2013-02-19 14:16:49 +01:00

22 lines
679 B
Text

# Template file for 'nodejs'
pkgname=nodejs
version=0.8.20
revision=1
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"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
homepage="http://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
checksum=e4461bfded531f4880839829ab3bce5b824905d6e181876e3d0309a366bf57ee
nostrip=yes
subpackages="${pkgname}-devel ${pkgname}-docs"
makedepends="pkg-config openssl-devel v8-devel zlib-devel"
fulldepends="python"
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
}