mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 07:50:35 +00:00
30 lines
991 B
Ruby
30 lines
991 B
Ruby
require_relative "../require/macfuse"
|
|
|
|
class HfsfuseMac < Formula
|
|
desc "FUSE driver for HFS+ filesystems (read-only)"
|
|
homepage "https://github.com/0x09/hfsfuse"
|
|
url "https://github.com/0x09/hfsfuse/releases/download/0.292/hfsfuse-0.292.tar.gz"
|
|
sha256 "50e4eb7ceaa69bd60b341198fa9ed391faf41ea045cfa528b41a36e005b87bed"
|
|
license all_of: ["BSD-2-Clause", "MIT"]
|
|
head "https://github.com/0x09/hfsfuse.git", branch: "master"
|
|
|
|
bottle do
|
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
|
sha256 cellar: :any, arm64_sonoma: "508aa0e067ea5bd62cdab71626d343384578d79db7ed53ad1a6cb075ca1bd6a8"
|
|
sha256 cellar: :any, ventura: "06146c2169ecaf61ed886a28231bec023ae7761eb85bce358c7fc8ed2fd60d12"
|
|
end
|
|
|
|
depends_on "lzfse"
|
|
depends_on MacfuseRequirement
|
|
depends_on :macos
|
|
|
|
def install
|
|
setup_fuse
|
|
system "make", "install", "prefix=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
assert_match version.to_s, shell_output("#{bin}/hfsfuse --version 2>&1")
|
|
system bin/"hfsdump"
|
|
end
|
|
end
|