ext4fuse: add 0.1.3 bottle.

This commit is contained in:
Adrian Ho 2021-04-27 12:41:36 +08:00
parent 3e1b5f5126
commit d8d43a424e

28
Formula/ext4fuse.rb Normal file
View file

@ -0,0 +1,28 @@
require_relative "../require/macfuse"
class Ext4fuse < Formula
desc "Read-only implementation of ext4 for FUSE"
homepage "https://github.com/gerard/ext4fuse"
url "https://github.com/gerard/ext4fuse/archive/v0.1.3.tar.gz"
sha256 "550f1e152c4de7d4ea517ee1c708f57bfebb0856281c508511419db45aa3ca9f"
license "GPL-2.0-only"
head "https://github.com/gerard/ext4fuse.git"
bottle do
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/ext4fuse-0.1.3"
sha256 cellar: :any, big_sur: "e29a46d11968d75fd09e06ff1d0c1be7bf63f11e56ed3c4eacbfb223f0ad5d5d"
end
depends_on "pkg-config" => :build
depends_on MacfuseRequirement
depends_on :macos
def install
system "make"
bin.install "ext4fuse"
end
test do
assert_match version.to_s, shell_output("#{bin}/ext4fuse --version 2>&1", 1)
end
end