-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac8384e
commit 4d19916
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |