920fc84053
Closes Homebrew/homebrew#25498. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
16 lines
367 B
Ruby
16 lines
367 B
Ruby
require 'formula'
|
|
|
|
class Etcd < Formula
|
|
homepage 'https://github.com/coreos/etcd'
|
|
url 'https://github.com/coreos/etcd/archive/v0.2.0.tar.gz'
|
|
sha1 'c18bfe533a5c180012188e4039b740b9564894ce'
|
|
head 'https://github.com/coreos/etcd.git'
|
|
|
|
depends_on 'go' => :build
|
|
|
|
def install
|
|
ENV['GOPATH'] = buildpath
|
|
system "./build"
|
|
bin.install 'etcd'
|
|
end
|
|
end
|