require 'formula' class Points2grid < Formula homepage 'https://github.com/CRREL/points2grid' url 'https://github.com/CRREL/points2grid/archive/1.1.1.tar.gz' sha1 'f0a7841f1cd804b67bf7ccd15bc5b3bcada975a7' depends_on 'cmake' => :build depends_on 'boost' def install system "cmake", ".", *std_cmake_args system "make install" end end