Skip to content

Commit

Permalink
hfsfuse-mac 0.199 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricFromCanada committed Feb 14, 2024
1 parent ac8384e commit 4d19916
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.199/hfsfuse-0.199.tar.gz"
sha256 "bbc664ffaa529021ebefc5452b4a9e016471deb5d1deeebc8ce023c2c8faec9c"
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 4d19916

Please sign in to comment.