require 'formula' class Imlib2 :build def install ENV.x11 # For freetype system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--enable-amd64=no" system "make install" end end