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

class Fleetctl < Formula
  homepage "https://github.com/coreos/fleet"
  url "https://github.com/coreos/fleet/archive/v0.9.2.tar.gz"
  sha256 "7b5c1dd091b304f8e6cbf31a102533a697d4e3212d34eeca53daa69445f71555"
  head "https://github.com/coreos/fleet.git"

  bottle do
    cellar :any
    sha256 "b352cd97d848738b89f23380d0d4fe837223cac4b2dd035cc78f70f29da5d82c" => :yosemite
    sha256 "3e8166288c032b76828efe9fe822de8e3e3ce0c453ed40dc5fb35fd4fea73743" => :mavericks
    sha256 "0d05a1e3c08bf07c221846681c01e2942da102889dd82141d31387a87781f9be" => :mountain_lion
  end

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    system "./build"
    bin.install "bin/fleetctl"
  end
end