aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fleetctl.rb
blob: 6d7af30d1f597523566f158baa80e655c1b6f369 (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.1.tar.gz"
  sha1 "f212d106416cea4d7d310bd2c5f0d843d1fa39ef"
  head "https://github.com/coreos/fleet.git"

  bottle do
    sha1 "d17dde932a893f201d0a7423b28746618fea2d93" => :mavericks
    sha1 "6939ab28d670fa4f6f7860fde26e57bc050c57e2" => :mountain_lion
    sha1 "677db0da4e2e60059e83406b6704342c0730d577" => :lion
  end

  depends_on "go" => :build

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