aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fleetctl.rb
blob: 8e18a719c9cc12b226ab426b36e5772823611943 (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.7.0.tar.gz"
  sha1 "9bec7868c9eeec59b3d8f28d01c8a631597b6b09"
  head "https://github.com/coreos/fleet.git"

  bottle do
    sha1 "9e9a20045cba0c6800fb6107ab597ba94cc5fe15" => :mavericks
    sha1 "5a9594f397d40aa219dcc442964dc58555704b1f" => :mountain_lion
    sha1 "d7fe5f6634f1f6e87395b6034abbfc7e11e287fc" => :lion
  end

  depends_on "go" => :build

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