require 'formula' class Cgal :optional def install system "cmake", ".", "-DCMAKE_INSTALL_PREFIX=#{prefix}", "-DCMAKE_BUILD_TYPE=Release" system "make install" end end