blob: 9b02e91742d36c493b7481900fbef74b457b71ce (
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.4.0.tar.gz'
  sha1 '153dd05ae4c317051cab2921cda62784ee0d0521'
  head 'https://github.com/coreos/fleet.git'
  bottle do
    sha1 "f27c9d473cb48d1a66fec798df4dfc9f1cad96e9" => :mavericks
    sha1 "f97e7212091f075757d9f9f7248e09a21601d2bc" => :mountain_lion
    sha1 "14bbce08085b257a3875cc34ec50a88c11960e45" => :lion
  end
  depends_on 'go' => :build
  def install
    ENV['GOPATH'] = buildpath
    system "./build"
    bin.install 'bin/fleetctl'
  end
end
  |