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"
url "https://github.com/coreos/etcdctl/archive/v0.4.5.tar.gz"
sha1 "698704fa04d9308552e42ae7d2bd4ff15c193255"
head "https://github.com/coreos/etcdctl.git"
2014-06-14 11:29:57 +00:00
bottle do
sha1 "220e279fe4e8ca7733c1b59618567c02a55596ff" => :mavericks
sha1 "b43502e6c33f96bafb40191a30dc9fc2f922e88c" => :mountain_lion
sha1 "5f3d423fbcb499fc0a8c8c9ee0c1b0df70b475db" => :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