aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/shen.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/shen.rb b/Library/Formula/shen.rb
new file mode 100644
index 000000000..538575eaa
--- /dev/null
+++ b/Library/Formula/shen.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Shen < Formula
+ url 'http://www.lambdassociates.org/Download/Shen1.7sources.zip'
+ homepage 'http://www.lambdassociates.org/'
+ md5 'e46ba5ab02c6e1de4ba2f5d9340e355a'
+ version '1.7'
+
+ depends_on 'clisp'
+
+ def install
+ system "cp K\\ Lambda/* Platforms/CLisp"
+ safe_system "cd Platforms/CLisp; clisp -i install.lsp"
+ system "echo \"#!/bin/bash\nclisp -M #{prefix}/Shen.mem $*\" > shen"
+ prefix.install ['Platforms/CLisp/Shen.mem']
+ system "chmod 755 shen"
+ bin.install ['shen']
+ end
+end