v/virtualbox.rb

homebrew-cask · Casks/v/virtualbox.rb · ruby · BSD-2-Clause
files

Installs Oracle VirtualBox for x86 and ARM64 macOS development

# Source: https://github.com/Homebrew/homebrew-cask | License: BSD-2-Clause | Copyright 2013-present, Homebrew contributors
# Provided via justclaw.it.com; keep this notice with the code.
cask "virtualbox" do
  arch arm: "macOSArm64", intel: "OSX"

  version "7.2.22,175245"
  sha256 arm:   "8a5b76de792340071dd7660d3bdec9d71e2d259a843d286c98b4763469513a2d",
         intel: "8ef68977c21eb94d82f0d05306d79dc2141ac2b94dcb050594fa1bc518d56a8c"

  on_arm do
    desc "Virtualiser for arm64 hardware"
  end
  on_intel do
    desc "Virtualiser for x86 hardware"
  end

  url "https://download.virtualbox.org/virtualbox/#{version.csv.first}/VirtualBox-#{version.csv.first}-#{version.csv.second}-#{arch}.dmg"
  name "Oracle VirtualBox"
  homepage "https://www.virtualbox.org/"

  livecheck do
    url "https

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key