homebrew-core/Formula/xhyve.rb

26 lines
689 B
Ruby
Raw Normal View History

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"
2015-06-24 20:47:02 +00:00
bottle do
cellar :any
sha256 "cfbc2e2bf6b8e2fe8892779c9e6dadedab2f0cedfb63aa648bc26febd0c1257a" => :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