void-packages/srcpkgs/nodejs/template

41 lines
1.5 KiB
Plaintext
Raw Normal View History

2011-12-23 09:22:16 +01:00
# Template file for 'nodejs'
pkgname=nodejs
2012-11-28 18:09:33 +01:00
version=0.8.15
2012-07-14 03:44:15 +02:00
revision=1
2012-06-30 19:57:51 +02:00
wrksrc=node-v${version}
build_style=configure
configure_args="--prefix=/usr --openssl-use-sys --shared-v8 --shared-zlib"
2011-12-23 09:22:16 +01:00
short_desc="Evented I/O for V8 javascript"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
2012-06-30 19:57:51 +02:00
homepage="http://nodejs.org/"
distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz"
2012-11-28 18:09:33 +01:00
checksum=1758639c6df3e081fe26585472d0f1961c5703b44ba6c57ecdf66a4c015792b1
2011-12-23 09:22:16 +01:00
long_desc="
Node.js is a software system designed for writing highly-scalable internet
applications, notably web servers. Programs are written in JavaScript, using
event-driven, asynchronous I/O to minimize overhead and maximize scalability.
Node.js consists of Google's V8 JavaScript engine plus several built-in
libraries.
Node.js was created by Ryan Dahl starting in 2009, and its growth is
sponsored by Joyent, his employer.
Similar environments written in other programming languages include Twisted
for Python, Perl Object Environment for Perl, libevent for C and EventMachine
for Ruby. Unlike most JavaScript, it is not executed in a web browser, but is
instead a form of server-side JavaScript.
Node.js implements some CommonJS specifications. It provides a REPL
environment for interactive testing."
2012-11-28 18:09:33 +01:00
nostrip=yes
subpackages="${pkgname}-devel ${pkgname}-docs"
makedepends="pkg-config openssl-devel v8-devel zlib-devel"
fulldepends="python"
2012-06-30 19:57:51 +02:00
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
2011-12-23 09:22:16 +01:00
}