diff options
| author | benmills | 2011-09-15 12:21:04 -0500 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-23 19:34:16 -0700 |
| commit | daee5d343df6186ca92f3c027efc88f83fc4b8c8 (patch) | |
| tree | 929944ccf73da28024fa277acf8c64a087376813 /Library/Formula | |
| parent | 666c556b0244b73e52a0d5afb7eee719a7af83c8 (diff) | |
| download | homebrew-daee5d343df6186ca92f3c027efc88f83fc4b8c8.tar.bz2 | |
New Formula: SISC-Scheme
Closes #7652.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
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 |
