aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fleetctl.rb
blob: 97f77d3bcf6f95e3e08a0cfc101d2ecd98e0f4a2 (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.3.2.tar.gz'
  sha1 '9931645ccacec27297b8ee6d8f4ea5cd882295eb'
  head 'https://github.com/coreos/fleet.git'

  bottle do
    sha1 "96b02915f2b3f5ea32ccdb72776c6cac3232678f" => :mavericks
    sha1 "4156313fb8d0b37718c916a06002bf66f89302f0" => :mountain_lion
    sha1 "7aa84216b036219dfe2107812161d73cd0036596" => :lion
  end

  depends_on 'go' => :build

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