void-packages/srcpkgs/nodejs/template
2013-02-08 10:16:52 +01:00

22 lines
679 B
Text

# Template file for 'nodejs'
pkgname=nodejs
version=0.8.19
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=703207d7b394bd3d4035dc3c94b417ee441fd3ea66aa90cd3d7c9bb28e5f9df4
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}
}