2014-07-20 18:48:51 +00:00
|
|
|
require "formula"
|
2014-05-07 22:56:05 +00:00
|
|
|
|
|
|
|
class Fleetctl < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Distributed init system"
|
2014-07-20 18:48:51 +00:00
|
|
|
homepage "https://github.com/coreos/fleet"
|
2015-07-14 23:34:59 +00:00
|
|
|
url "https://github.com/coreos/fleet/archive/v0.11.1.tar.gz"
|
|
|
|
sha256 "65965730f70021988ed869e23d9599a2305f24287f3ac67c2b995b05ef28cbe8"
|
2014-07-20 18:48:51 +00:00
|
|
|
head "https://github.com/coreos/fleet.git"
|
2014-05-07 22:56:05 +00:00
|
|
|
|
2014-05-07 23:04:46 +00:00
|
|
|
bottle do
|
2015-02-20 15:36:48 +00:00
|
|
|
cellar :any
|
2015-07-15 00:02:32 +00:00
|
|
|
sha256 "87c6c37fbcc703cb6853015a7b0c4b49c2ee6a18cf31d3604bb81d09d3962dde" => :yosemite
|
|
|
|
sha256 "491a50a3f711f6c9e860d87d0ddb4990cae5f8dcfc27270ee4b9194e0a44f49d" => :mavericks
|
|
|
|
sha256 "5f63fbb91194db4699f842175d112e84af199d166a910e00ab57558b8d258bd7" => :mountain_lion
|
2014-05-07 23:04:46 +00:00
|
|
|
end
|
|
|
|
|
2014-07-20 18:48:51 +00:00
|
|
|
depends_on "go" => :build
|
2014-05-07 22:56:05 +00:00
|
|
|
|
|
|
|
def install
|
2014-07-20 18:48:51 +00:00
|
|
|
ENV["GOPATH"] = buildpath
|
2014-05-07 22:56:05 +00:00
|
|
|
system "./build"
|
2014-07-20 18:48:51 +00:00
|
|
|
bin.install "bin/fleetctl"
|
2014-05-07 22:56:05 +00:00
|
|
|
end
|
|
|
|
end
|