aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gflags.rb
blob: 9f542566f2c81a6f22ce62dbf64992c28ba41290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class Gflags < Formula
  homepage "http://code.google.com/p/google-gflags/"
  url "https://github.com/schuhschuh/gflags/archive/v2.1.1.tar.gz"
  sha1 "59b37548b10daeaa87a3093a11d13c2442ac6849"

  bottle do
    cellar :any
    sha1 "a505e4743158a4336b2f4794e724b1f213309aa1" => :yosemite
    sha1 "c7c39cddb08e025e988c2529e60c5641c9d8eef6" => :mavericks
    sha1 "d160e728b0c3cf29cb7ed23afe2f20d38deeef57" => :mountain_lion
  end

  depends_on "cmake" => :build

  def install
    system "cmake", ".", *std_cmake_args
    system "make install"
  end
end