[Lunar-commits] <moonbase-other> js: javascript interpreter (JIT) and libraries.
Florin Braescu
florin at lunar-linux.org
Sun Feb 10 16:08:50 CET 2013
commit 420a5495faab7462c2e14fc1d00944d54cfffd8c
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sun, 10 Feb 2013 07:08:50 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/420a5495faab7462c2e14fc1d00944d54cfffd8c
js: javascript interpreter (JIT) and libraries.
---
compilers/js/BUILD | +9/-0
compilers/js/DEPENDS | +1/-0
compilers/js/DETAILS | +17/-0
3 files changed, 27 insertions(+)
--- /dev/null
+++ b/compilers/js/BUILD
@@ -0,0 +1,9 @@
+(
+
+ OPTS+=" --with-system-nspr --enable-threadsafe "
+ cd js/src
+ default_build
+
+ install -m 0755 shell/js /usr/bin
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/compilers/js/DEPENDS
@@ -0,0 +1 @@
+depends nspr
--- /dev/null
+++ b/compilers/js/DETAILS
@@ -0,0 +1,17 @@
+ MODULE=js
+ VERSION=1.8.5
+ SOURCE=js185-1.0.0.tar.gz
+ SOURCE_URL=http://ftp.mozilla.org/pub/mozilla.org/$MODULE
+ SOURCE_VFY=sha1:52a01449c48d7a117b35f213d3e4263578d846d6
+ WEB_SITE=https://developer.mozilla.org/En/SpiderMonkey/$VERSION
+ ENTERED=20130210
+ UPDATED=20130210
+ SHORT="JavaScript interpreter and libraries"
+
+cat <<EOF
+SpiderMonkey 1.8.5 includes a just-in-time compiler (JIT) (several, actually)
+that compiles JavaScript to machine code, for a significant speed increase.
+It is supported only on x86, x86_64 and ARM architectures. On other platforms,
+the JIT is simply disabled; JavaScript code runs in an interpreter, as in
+previous versions. It's the same language, just not as fast.
+EOF
More information about the Lunar-commits
mailing list