mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-08 09:11:37 +00:00
hfsfuse-mac 0.242 (new formula)
Closes #72. Signed-off-by: Adrian Ho <215702+gromgit@users.noreply.github.com>
This commit is contained in:
parent
74b3fe8e67
commit
848874ddda
1 changed files with 24 additions and 0 deletions
24
Formula/hfsfuse-mac.rb
Normal file
24
Formula/hfsfuse-mac.rb
Normal file
|
|
@ -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.242/hfsfuse-0.242.tar.gz"
|
||||
sha256 "2cda7fd5d2fd3419c24907c1f59d04230162ce9491a65553c3d6254677ee62f3"
|
||||
license all_of: ["BSD-2-Clause", "MIT"]
|
||||
head "https://github.com/0x09/hfsfuse.git", branch: "master"
|
||||
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue