diff options
| author | Nathaniel Talbott | 2010-07-19 11:42:01 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-19 14:56:52 -0700 |
| commit | 547edb0d39175a2e3898f62f897fcf1d87cabace (patch) | |
| tree | 071f96ae637c174a7b4705538cd40324833c9a1d /Library/Formula | |
| parent | 253c6b0d2d23f77c9c2c7e16e120e48c2019af2f (diff) | |
| download | homebrew-547edb0d39175a2e3898f62f897fcf1d87cabace.tar.bz2 | |
Formula for MzScheme
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mz-scheme.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/mz-scheme.rb b/Library/Formula/mz-scheme.rb new file mode 100644 index 000000000..3b5094c5b --- /dev/null +++ b/Library/Formula/mz-scheme.rb @@ -0,0 +1,19 @@ +require 'formula' + +class MzScheme <Formula + url 'http://download.plt-scheme.org/bundles/4.2.5/mz/mz-4.2.5-src-unix.tgz' + homepage 'http://plt-scheme.org/' + md5 '5d320c94e168ab58237c0e710c6050d0' + version '4.2.5' + + def install + cd "src" + + options = ["--disable-pthread", "--disable-mred", "--enable-xonx", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"] + options << "--enable-mac64" if Hardware.is_64_bit? && MACOS_VERSION >= 10.6 + system "./configure", *options + + system "make" + system "make install" + end +end |
