homebrew-core/Formula/yaml-cpp.rb

16 lines
359 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class YamlCpp < Formula
homepage 'http://code.google.com/p/yaml-cpp/'
2012-02-22 05:12:27 +00:00
url 'http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz'
2012-02-10 02:56:25 +00:00
sha1 '28766efa95f1b0f697c4b4a1580a9972be7c9c41'
2011-11-30 02:54:32 +00:00
depends_on 'cmake' => :build
depends_on 'libyaml'
def install
2012-02-22 05:12:27 +00:00
system "cmake #{std_cmake_parameters} ."
system "make install"
end
end