blob: fc88ef05a2ab8304b994f2e2ad34361f1b27efc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
|