homebrew-core/Formula/vrpn.rb

33 lines
1.7 KiB
Ruby

class Vrpn < Formula
desc "Virtual reality peripheral network"
homepage "https://github.com/vrpn/vrpn/wiki"
url "https://github.com/vrpn/vrpn/releases/download/version_07.35/vrpn_07.35.zip"
sha256 "06b74a40b0fb215d4238148517705d0075235823c0941154d14dd660ba25af19"
license "BSL-1.0"
head "https://github.com/vrpn/vrpn.git", branch: "master"
bottle do
sha256 cellar: :any, arm64_ventura: "30798e598e05078f5ce75ca7451df08ccef3810848f61f6870a440c802c2008f"
sha256 cellar: :any, arm64_monterey: "e16ae039e897123feecad339bba4ebdb34773a30924ac0046e5785c86c37e243"
sha256 cellar: :any, arm64_big_sur: "7937578e438051b79f3270c6fbcd9025d1f4cf42785aa04d72d2c4d245733fa3"
sha256 cellar: :any, ventura: "7ad5e83677486dc1cee37c5a2a80c599f9065780af1a7c0660ecbac0fa000bd4"
sha256 cellar: :any, monterey: "2b172896f3d3c3103643f4d7ded96c1302730677741ee3db5b2cd1d94a65d4b0"
sha256 cellar: :any, big_sur: "994b39680e7cb653839053a76ad471e29b1fefbce14a9bbf5434d9de8625732d"
sha256 cellar: :any, catalina: "c3fb15bbfbde5f246e3776cde0489227836a695bef07a7a25cc928f2e28a935b"
sha256 cellar: :any_skip_relocation, x86_64_linux: "c9f1717e1d29898fb06c95d84c99c1beee02403f6e64f9617569e08e358abbbb"
end
depends_on "cmake" => :build
depends_on "libusb" # for HID support
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args,
"-DCMAKE_OSX_SYSROOT=#{MacOS.sdk_path}",
"-DVRPN_BUILD_CLIENTS:BOOL=OFF",
"-DVRPN_BUILD_JAVA:BOOL=OFF"
system "make", "install"
end
end
end