homebrew-core/Formula/shen.rb
Joshua B. Griffith 35525d33bb New Formuls: Shen
Shen is the cross-platform successor to the Qi II language. See:

  http://www.lambdassociates.org/specification/shen_1.7.htm#Shen_and_Qi

Closes Homebrew/homebrew#7807.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-24 22:56:23 -07:00

19 lines
534 B
Ruby

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