2014-07-20 18:48:51 +00:00
|
|
|
require "formula"
|
2014-05-07 22:56:05 +00:00
|
|
|
|
|
|
|
class Fleetctl < Formula
|
2014-07-20 18:48:51 +00:00
|
|
|
homepage "https://github.com/coreos/fleet"
|
2014-08-01 22:30:34 +00:00
|
|
|
url "https://github.com/coreos/fleet/archive/v0.6.1.tar.gz"
|
|
|
|
sha1 "2a839172b5801b98994d2fc69cfe691a612a3bce"
|
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
|
2014-08-01 22:39:48 +00:00
|
|
|
sha1 "1ac4f8f58b2d834eabd0c04b241c743a661b6f17" => :mavericks
|
|
|
|
sha1 "bb58012719aab5b35b0023d46ca5105da0969e61" => :mountain_lion
|
|
|
|
sha1 "c4d16d2949a134c287e624f498511ccd3aa2806b" => :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
|