require 'formula' class SLang :optional depends_on 'oniguruma' => :optional def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-png=/usr/X11R6" ENV.j1 system "make" system "make install" end end