void-packages/srcpkgs/nodejs/template
2013-01-12 09:46:17 +01:00

22 lines
679 B
Text

# Template file for 'nodejs'
pkgname=nodejs
version=0.8.17
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=8f070b42ffb84fde9d3ed2f802b08664b94dda327a36bf08a80c8b7efcf8b29e
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}
}