homebrew-core/Formula/xhyve.rb
Mike McQuaid 7a4dabfc1a Use hash rockets again. (#5177)
This restores 1.8 hash rockets because they look nicer with e.g. `depends_on :foo => :bar`
2016-09-24 16:45:48 +01:00

27 lines
887 B
Ruby

class Xhyve < Formula
desc "xhyve, lightweight OS X virtualization solution based on FreeBSD's bhyve"
homepage "https://github.com/mist64/xhyve"
url "https://github.com/mist64/xhyve/archive/v0.2.0.tar.gz"
sha256 "32c390529a73c8eb33dbc1aede7baab5100c314f726cac14627d2204ad9d3b3c"
head "https://github.com/mist64/xhyve.git"
bottle do
cellar :any_skip_relocation
sha256 "0a3d1c11832ff072a9d438fbca8e4cf23e706a2ab876341472c305c697c013fb" => :sierra
sha256 "5eaf3b257fc5fce821c5704b79f5671e6e8e9e73b25525da4f66b8c5c4e3c1fb" => :el_capitan
sha256 "4b7fe0a81da6d1a6777a42c41d3465d7777047a1ec9581fcfdef949e13d68010" => :yosemite
end
depends_on :macos => :yosemite
def install
args = []
args << "GIT_VERSION=#{version}" if build.stable?
system "make", *args
bin.install "build/xhyve"
end
test do
system "#{bin}/xhyve", "-v"
end
end