require 'formula' class Mosh < Formula url 'http://mosh-scheme.googlecode.com/files/mosh-0.2.6p.tar.gz' homepage 'http://mosh.monaos.org' md5 'e41e38a4a09614392c6e2eb850143724' version '0.2.6' depends_on 'gmp' depends_on 'oniguruma' fails_with_llvm def install ENV.gcc_4_2 # GCC > 4.0 required system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" system "make install" end end