blob: 5280dc74f5b06b88533c976cea432a3e216e5618 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | 
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_parameters} ."
    system "make install"
  end
end
  |