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

  bottle do
    sha1 "80417f9cb656b30100f5fb06bb4d4067a6cd3d93" => :mavericks
    sha1 "a8cb08ce6ed71d44bbede0eb50260e14851d6ae2" => :mountain_lion
    sha1 "a62e570c01a879c361b36a7b6b91db6fc052e9b2" => :lion
  end

  depends_on "go" => :build

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