require 'formula' class Qjson :build depends_on 'qt' def install system "cmake . #{std_cmake_parameters}" system "make install" end end