blob: a70213a9195818c3bcac3eef7825dbbf242db143 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|