diff options
| author | Stian Eikeland | 2013-09-16 13:06:27 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-19 22:21:13 -0700 |
| commit | 5293a6230c7a0cbf82e63c7f27ced28d4ba86990 (patch) | |
| tree | a7013bb6c45450f6d18e7e39c90755c72613b459 /Library/Formula | |
| parent | 5d52a8c26bc0a8b6b047134646d8d6ef8c63b84d (diff) | |
| download | homebrew-5293a6230c7a0cbf82e63c7f27ced28d4ba86990.tar.bz2 | |
Etcd 0.1.1
Etcd is a high-available key/value shared configuration store.
Closes #22585.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/etcd.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/etcd.rb b/Library/Formula/etcd.rb new file mode 100644 index 000000000..a70213a91 --- /dev/null +++ b/Library/Formula/etcd.rb @@ -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 |
