homebrew-core/Formula/fleetctl.rb

23 lines
598 B
Ruby
Raw Normal View History

2014-07-20 18:48:51 +00:00
require "formula"
class Fleetctl < Formula
2014-07-20 18:48:51 +00:00
homepage "https://github.com/coreos/fleet"
2014-09-18 04:11:37 +00:00
url "https://github.com/coreos/fleet/archive/v0.8.1.tar.gz"
sha1 "f212d106416cea4d7d310bd2c5f0d843d1fa39ef"
2014-07-20 18:48:51 +00:00
head "https://github.com/coreos/fleet.git"
2014-05-07 23:04:46 +00:00
bottle do
sha1 "d17dde932a893f201d0a7423b28746618fea2d93" => :mavericks
sha1 "6939ab28d670fa4f6f7860fde26e57bc050c57e2" => :mountain_lion
sha1 "677db0da4e2e60059e83406b6704342c0730d577" => :lion
2014-05-07 23:04:46 +00:00
end
2014-07-20 18:48:51 +00:00
depends_on "go" => :build
def install
2014-07-20 18:48:51 +00:00
ENV["GOPATH"] = buildpath
system "./build"
2014-07-20 18:48:51 +00:00
bin.install "bin/fleetctl"
end
end