aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/etcd.rb
blob: 9a29c5f92239f065b67eeb084fa0b60e2d22bac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Etcd < Formula
  homepage 'https://github.com/coreos/etcd'
  url 'https://github.com/coreos/etcd/archive/v0.3.0.tar.gz'
  sha1 '0f191070268f7c87ca044ad23179995b9290e3c0'
  head 'https://github.com/coreos/etcd.git'

  depends_on 'go' => :build

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