homebrew-core/Formula/etcdctl.rb

23 lines
602 B
Ruby
Raw Normal View History

2014-07-20 18:48:08 +00:00
require "formula"
class Etcdctl < Formula
2014-07-20 18:48:08 +00:00
homepage "https://github.com/coreos/etcdctl"
2014-08-20 05:39:07 +00:00
url "https://github.com/coreos/etcdctl/archive/v0.4.6.tar.gz"
sha1 "924668c26a30bfe65ac88971965b1dad819be630"
2014-07-20 18:48:08 +00:00
head "https://github.com/coreos/etcdctl.git"
2014-06-14 11:29:57 +00:00
bottle do
sha1 "55d9d167c681bde77edddafab93ca59a7f6ac876" => :mavericks
sha1 "f371b74df8c7efd4b20bf51eec88621f6129b0c1" => :mountain_lion
sha1 "0944b857b23a28b4bc1c20c668d07afbf86b42cf" => :lion
2014-06-14 11:29:57 +00:00
end
2014-07-20 18:48:08 +00:00
depends_on "go" => :build
def install
2014-07-20 18:48:08 +00:00
ENV["GOPATH"] = buildpath
system "./build"
2014-07-20 18:48:08 +00:00
bin.install "bin/etcdctl"
end
end