Skip to content

Commit

Permalink
hfsfuse-mac 0.214 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricFromCanada committed Apr 18, 2024
1 parent ac8384e commit 634981d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Formula/hfsfuse-mac.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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.214/hfsfuse-0.214.tar.gz"
sha256 "511b906883ebe5af7078cfdd2f6cda22fd66e46f55dcef15d801c9ac08f522f1"
license all_of: ["BSD-2-Clause", "MIT"]
head "https://github.com/0x09/hfsfuse.git"

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

0 comments on commit 634981d

Please sign in to comment.