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"
|
2025-11-23 03:42:29 +00:00
|
|
|
url "https://git.sr.ht/~nabijaczleweli/archivemount-ng/archive/1b.tar.gz"
|
|
|
|
|
version "1b"
|
|
|
|
|
sha256 "de10cfee3bff8c1dd2b92358531d3c0001db36a99e1098ed0c9d205d110e903d"
|
2025-11-23 08:11:14 +08:00
|
|
|
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"
|
2025-11-23 03:19:47 +00:00
|
|
|
rebuild 2
|
|
|
|
|
sha256 cellar: :any, arm64_tahoe: "50738aa449a8b214387c1cc148b30b760fb64ced8dd0c85f0d0c29db25986a73"
|
|
|
|
|
sha256 cellar: :any, arm64_sequoia: "02e40045fc073d935a4abf9b83e469b1c5f50b15fa84f53b95f1164e658279aa"
|
|
|
|
|
sha256 cellar: :any, arm64_sonoma: "482da34d8d8dbd9a2ce53f4ae40e1f84ca946e188d681ef9cc72d9535e98b3cd"
|
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
|