aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fleetctl.rb
blob: 700c0882748ccfa309a4d471fced6930faa2c1c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require "formula"

class Fleetctl < Formula
  homepage "https://github.com/coreos/fleet"
  url "https://github.com/coreos/fleet/archive/v0.6.2.tar.gz"
  sha1 "501f5ccdce3c0fdb1559c7bc13d9b7a28785d58d"
  head "https://github.com/coreos/fleet.git"

  bottle do
    sha1 "7a68c1ad14596201d8c13259047951bf4c3081c7" => :mavericks
    sha1 "eb2f8ec141aa3d7c6bdd5c81211d1e0777d78f13" => :mountain_lion
    sha1 "057ab92b97d1ec66d6421dd378acf045b6ae3a83" => :lion
  end

  depends_on "go" => :build

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