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