diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sisc-scheme.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/sisc-scheme.rb b/Library/Formula/sisc-scheme.rb new file mode 100644 index 000000000..83115de03 --- /dev/null +++ b/Library/Formula/sisc-scheme.rb @@ -0,0 +1,22 @@ +require 'formula' + +class SiscScheme < Formula + url 'http://sourceforge.net/projects/sisc/files/SISC-Lite-zip/1.9.8/sisc-lite-1.9.8.zip' + md5 'c1b75ecf26af0d733415d36dcdb1d614' + homepage 'http://sourceforge.net/projects/sisc' + + def script; <<-EOS.undent + #!/bin/sh + SISC_HOME=#{prefix} + EOS + end + + def install + file = File.open("sisc", "rb") + contents = file.read + run_script = script + run_script += contents + prefix.install Dir['*'] + (bin+'sisc').write run_script + end +end |
