homebrew-core/Formula/yaml-cpp.rb
Jack Nagel c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00

15 lines
355 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.3.0.tar.gz'
sha1 '28766efa95f1b0f697c4b4a1580a9972be7c9c41'
depends_on 'cmake' => :build
depends_on 'libyaml'
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
end