Skip to content

Commit

Permalink
Etcd 0.1.1
Browse files Browse the repository at this point in the history
Etcd is a high-available key/value shared configuration store.

Closes Homebrew/legacy-homebrew#22585.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
stianeikeland authored and adamv committed Sep 20, 2013
1 parent e58c067 commit 81c4fc5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/etcd.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
require 'formula'

class Etcd < Formula
homepage 'https://github.com/coreos/etcd'
url 'https://github.com/coreos/etcd/archive/v0.1.1.tar.gz'
sha1 '60f39379b7f916a7e3e87fdefc1104cd2330c1ae'
head 'https://github.com/coreos/etcd.git'

depends_on 'go' => :build

fails_with :clang do
cause "clang: error: no such file or directory: 'libgcc.a'"
end

def install
ENV['GOPATH'] = buildpath
system "./build"
bin.install 'etcd'
end
end

0 comments on commit 81c4fc5

Please sign in to comment.