24 lines
756 B
Ruby
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.10.2.tar.gz"
|
|
sha256 "2f5310e8f37c3fbbc0d643a18d27e60c57ba17763a7e6e1e7ad9ae6cb4fe285a"
|
|
head "https://github.com/coreos/fleet.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "fd9569cd4defba9154664f29281803fe349b00eb822145333f1c77da340f0c4b" => :yosemite
|
|
sha256 "c90e834545e262bf320f2de1e4cb5ddf47ecf44a0a54ec36aa1cb641b46fd198" => :mavericks
|
|
sha256 "dc0dcbe17ba1d306f20dca802e29b5d8ce5c22b1dc2a933ccd2081e1e3a7d31a" => :mountain_lion
|
|
end
|
|
|
|
depends_on "go" => :build
|
|
|
|
def install
|
|
ENV["GOPATH"] = buildpath
|
|
system "./build"
|
|
bin.install "bin/fleetctl"
|
|
end
|
|
end
|