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

class Fleetctl < Formula
  homepage "https://github.com/coreos/fleet"
  url "https://github.com/coreos/fleet/archive/v0.8.0.tar.gz"
  sha1 "2b45b665513b3ce6812b4f50c48f38891d9c0529"
  head "https://github.com/coreos/fleet.git"

  bottle do
    sha1 "5837aae02570e3d6d7a609cd87196e28ad86c297" => :mavericks
    sha1 "e129959dd0e59efeb10063eb887de3daa04c3769" => :mountain_lion
    sha1 "c8579d9c95c87f5c14d33a507c1a04c168d7003b" => :lion
  end

  depends_on "go" => :build

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