From daee5d343df6186ca92f3c027efc88f83fc4b8c8 Mon Sep 17 00:00:00 2001 From: benmills Date: Thu, 15 Sep 2011 12:21:04 -0500 Subject: New Formula: SISC-Scheme Closes #7652. Signed-off-by: Charlie Sharpsteen --- Library/Formula/sisc-scheme.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Library/Formula/sisc-scheme.rb (limited to 'Library') 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 -- cgit v1.2.3