2014-05-07 22:56:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Fleetctl < Formula
|
|
|
|
homepage 'https://github.com/coreos/fleet'
|
2014-06-17 19:15:42 +00:00
|
|
|
url 'https://github.com/coreos/fleet/archive/v0.5.0.tar.gz'
|
|
|
|
sha1 '90fbbba15a595e707d43f74294b82217bab57b07'
|
2014-05-07 22:56:05 +00:00
|
|
|
head 'https://github.com/coreos/fleet.git'
|
|
|
|
|
2014-05-07 23:04:46 +00:00
|
|
|
bottle do
|
2014-06-17 19:26:09 +00:00
|
|
|
sha1 "8abefa5ff7b326a0e607857ed9138ea67105f66f" => :mavericks
|
|
|
|
sha1 "07d9277b0fabe907e138a444a237174cf9c44940" => :mountain_lion
|
|
|
|
sha1 "8046e086e35a8beb49fab62deb4841687623cc04" => :lion
|
2014-05-07 23:04:46 +00:00
|
|
|
end
|
|
|
|
|
2014-05-07 22:56:05 +00:00
|
|
|
depends_on 'go' => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['GOPATH'] = buildpath
|
|
|
|
system "./build"
|
|
|
|
bin.install 'bin/fleetctl'
|
|
|
|
end
|
|
|
|
end
|