require 'formula' class YamlCpp < Formula url 'http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz' homepage 'http://code.google.com/p/yaml-cpp/' sha1 '28766efa95f1b0f697c4b4a1580a9972be7c9c41' depends_on 'cmake' => :build depends_on 'libyaml' def install system "cmake . #{std_cmake_parameters}" system "make install" end end