2021-04-27 11:16:29 +08:00
|
|
|
require_relative "../require/macfuse"
|
|
|
|
|
|
2021-04-27 14:25:56 +08:00
|
|
|
class ArchivemountMac < Formula
|
2021-04-27 11:16:29 +08:00
|
|
|
desc "File system for accessing archives using libarchive"
|
2025-11-23 08:11:14 +08:00
|
|
|
homepage "https://git.sr.ht/~nabijaczleweli/archivemount-ng"
|
|
|
|
|
url "https://git.sr.ht/~nabijaczleweli/archivemount-ng/archive/0.9.1.tar.gz"
|
|
|
|
|
sha256 "882faf07fe9241a5015eff9691c4702fdadb177265833b385135562a1c2c2059"
|
|
|
|
|
license "LGPL-2.0-or-later"
|
2025-02-11 23:03:55 +08:00
|
|
|
|
2021-04-27 11:16:29 +08:00
|
|
|
bottle do
|
2025-02-12 12:35:41 +00:00
|
|
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
|
|
|
|
rebuild 1
|
|
|
|
|
sha256 cellar: :any, arm64_sonoma: "abe39d7d99aae950033e62df6c1ac3c33b7b8a7863eeb92d2bb82c1b3b5662fc"
|
|
|
|
|
sha256 cellar: :any, ventura: "be2622a6cb26b8dc581c35b1cad1f07ddafbfea379e5f4db250258ab6583f615"
|
2021-04-27 11:16:29 +08:00
|
|
|
end
|
|
|
|
|
|
2025-02-12 20:25:05 +08:00
|
|
|
depends_on "pkgconf" => :build
|
2021-04-27 11:16:29 +08:00
|
|
|
depends_on "libarchive"
|
|
|
|
|
depends_on MacfuseRequirement
|
|
|
|
|
depends_on :macos
|
|
|
|
|
|
|
|
|
|
def install
|
2021-07-04 00:27:00 +08:00
|
|
|
setup_fuse
|
2025-02-12 20:25:05 +08:00
|
|
|
system "./configure", "--disable-silent-rules", *std_configure_args
|
2021-04-27 11:16:29 +08:00
|
|
|
system "make", "install"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
test do
|
|
|
|
|
system bin/"archivemount", "--version"
|
|
|
|
|
end
|
|
|
|
|
end
|