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-02-12 20:25:05 +08:00
|
|
|
homepage "https://github.com/cybernoid/archivemount"
|
|
|
|
|
url "https://slackware.uk/~urchlay/src/archivemount-0.9.1.tar.gz"
|
2021-04-27 11:16:29 +08:00
|
|
|
sha256 "c529b981cacb19541b48ddafdafb2ede47a40fcaf16c677c1e2cd198b159c5b3"
|
|
|
|
|
|
2025-02-11 23:03:55 +08:00
|
|
|
livecheck do
|
|
|
|
|
url "https://raw.githubusercontent.com/cybernoid/archivemount/refs/heads/master/CHANGELOG"
|
|
|
|
|
regex(/\*\s+v?(\d+(?:\.\d+)+)\s+/i)
|
|
|
|
|
end
|
|
|
|
|
|
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
|