homebrew-core/Formula/fleetctl.rb
2015-07-15 01:58:41 +01:00

24 lines
756 B
Ruby

require "formula"
class Fleetctl < Formula
desc "Distributed init system"
homepage "https://github.com/coreos/fleet"
url "https://github.com/coreos/fleet/archive/v0.11.1.tar.gz"
sha256 "65965730f70021988ed869e23d9599a2305f24287f3ac67c2b995b05ef28cbe8"
head "https://github.com/coreos/fleet.git"
bottle do
cellar :any
sha256 "87c6c37fbcc703cb6853015a7b0c4b49c2ee6a18cf31d3604bb81d09d3962dde" => :yosemite
sha256 "491a50a3f711f6c9e860d87d0ddb4990cae5f8dcfc27270ee4b9194e0a44f49d" => :mavericks
sha256 "5f63fbb91194db4699f842175d112e84af199d166a910e00ab57558b8d258bd7" => :mountain_lion
end
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
system "./build"
bin.install "bin/fleetctl"
end
end