homebrew-core/Formula/xhyve.rb
2015-07-27 15:08:47 -07:00

25 lines
689 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
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