homebrew-core/Formula/shen.rb
Joshua B. Griffith f11cc073e6 Shen: Update to 1.8
Closes Homebrew/homebrew#7852.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-28 20:34:38 -07:00

19 lines
534 B
Ruby

require 'formula'
class Shen < Formula
url 'http://www.lambdassociates.org/Download/Shen1.8sources.zip'
homepage 'http://www.lambdassociates.org/'
md5 'bbd8d527683859f2bc3e6ee9bf439e50'
version '1.8'
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