homebrew-fuse/Formula/s3-backer-mac.rb

33 lines
990 B
Ruby
Raw Normal View History

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"
url "https://archie-public.s3.amazonaws.com/s3backer/s3backer-2.1.4.tar.gz"
sha256 "0451471209cc872708e91b2784a4a1b9f3ca44c89a7bffb8f6145aed28c941e7"
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"
2025-05-14 12:56:42 +00:00
sha256 cellar: :any, arm64_sonoma: "7f67d78e85e19ec2447968526fddc16c9285c32f2d81eb5cdbaa2771fb2e7153"
sha256 cellar: :any, ventura: "51f68b3c5cba34ac4e669b9cc8b2b1f37a940fc01e3d356decb4aaf750f1e96d"
2021-05-04 13:49:35 +08:00
end
depends_on "pkgconf" => :build
depends_on "curl"
depends_on "expat"
2021-05-04 13:49:35 +08:00
depends_on MacfuseRequirement
depends_on :macos
depends_on "openssl@3"
2022-09-06 10:53:23 +08:00
2021-05-04 13:49:35 +08:00
def install
setup_fuse
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