2021-05-04 13:49:35 +08:00
|
|
|
require_relative "../require/macfuse"
|
|
|
|
|
|
|
|
|
|
class S3BackerMac < Formula
|
|
|
|
|
desc "FUSE-based single file backing store via Amazon S3"
|
|
|
|
|
homepage "https://github.com/archiecobbs/s3backer"
|
2025-02-11 23:07:32 +08:00
|
|
|
url "https://archie-public.s3.amazonaws.com/s3backer/s3backer-2.1.3.tar.gz"
|
|
|
|
|
sha256 "b49a7cae66bc29e8104db889e7e63137748d4a3442d88ebad9fffa4705808a81"
|
2021-05-04 13:49:35 +08:00
|
|
|
license "GPL-2.0-or-later"
|
|
|
|
|
|
|
|
|
|
bottle do
|
2025-02-11 15:20:19 +00:00
|
|
|
root_url "https://ghcr.io/v2/gromgit/fuse"
|
|
|
|
|
sha256 cellar: :any, arm64_sonoma: "74c3dc5284de2816f8ac93749c530cb6031a88cb862cd6b3cd815fc962d61c7f"
|
|
|
|
|
sha256 cellar: :any, ventura: "9e4cc5154864642ffaaea319c13994eab5ae558ca0278ad67f1ffc3aeaa7d95a"
|
2021-05-04 13:49:35 +08:00
|
|
|
end
|
|
|
|
|
|
2025-02-11 23:07:32 +08:00
|
|
|
depends_on "pkgconf" => :build
|
|
|
|
|
depends_on "curl"
|
|
|
|
|
depends_on "expat"
|
2021-05-04 13:49:35 +08:00
|
|
|
depends_on MacfuseRequirement
|
|
|
|
|
depends_on :macos
|
2025-02-11 23:07:32 +08:00
|
|
|
depends_on "openssl@3"
|
2022-09-06 10:53:23 +08:00
|
|
|
|
2021-05-04 13:49:35 +08:00
|
|
|
def install
|
2021-07-04 00:27:00 +08:00
|
|
|
setup_fuse
|
2025-02-11 23:07:32 +08:00
|
|
|
system "./configure", "--disable-silent-rules", *std_configure_args
|
2021-05-04 13:49:35 +08:00
|
|
|
system "make", "install"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
test do
|
|
|
|
|
system bin/"s3backer", "--version"
|
|
|
|
|
end
|
|
|
|
|
end
|