homebrew-core/Formula/yaml-cpp.rb
Peter Powell 35d918134a yaml-cpp: latest version depends on boost
Closes Homebrew/homebrew#17979.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-20 18:30:55 -06:00

15 lines
353 B
Ruby

require 'formula'
class YamlCpp < Formula
homepage 'http://code.google.com/p/yaml-cpp/'
url 'http://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.0.tar.gz'
sha1 '575ece77122bffc392e6e9bc7389a1efcdb6bc97'
depends_on 'cmake' => :build
depends_on 'boost'
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
end