2014-05-07 22:56:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Fleetctl < Formula
|
|
|
|
homepage 'https://github.com/coreos/fleet'
|
2014-05-30 16:45:02 +00:00
|
|
|
url 'https://github.com/coreos/fleet/archive/v0.4.0.tar.gz'
|
|
|
|
sha1 '153dd05ae4c317051cab2921cda62784ee0d0521'
|
2014-05-07 22:56:05 +00:00
|
|
|
head 'https://github.com/coreos/fleet.git'
|
|
|
|
|
2014-05-07 23:04:46 +00:00
|
|
|
bottle do
|
2014-05-30 16:58:53 +00:00
|
|
|
sha1 "f27c9d473cb48d1a66fec798df4dfc9f1cad96e9" => :mavericks
|
|
|
|
sha1 "f97e7212091f075757d9f9f7248e09a21601d2bc" => :mountain_lion
|
|
|
|
sha1 "14bbce08085b257a3875cc34ec50a88c11960e45" => :lion
|
2014-05-07 23:04:46 +00:00
|
|
|
end
|
|
|
|
|
2014-05-07 22:56:05 +00:00
|
|
|
depends_on 'go' => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['GOPATH'] = buildpath
|
|
|
|
system "./build"
|
|
|
|
bin.install 'bin/fleetctl'
|
|
|
|
end
|
|
|
|
end
|