From 634981dacd9add6fe6941abbe9bd73de2f2fb568 Mon Sep 17 00:00:00 2001 From: Eric Knibbe Date: Wed, 14 Feb 2024 11:17:35 -0500 Subject: [PATCH] hfsfuse-mac 0.214 (new formula) --- Formula/hfsfuse-mac.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Formula/hfsfuse-mac.rb diff --git a/Formula/hfsfuse-mac.rb b/Formula/hfsfuse-mac.rb new file mode 100644 index 0000000..f842d61 --- /dev/null +++ b/Formula/hfsfuse-mac.rb @@ -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