s3fs-mac: update 1.89 bottle.

This commit is contained in:
Adrian Ho 2021-05-04 13:04:13 +08:00
parent addf1fb665
commit 1bb1cf58f2

34
Formula/s3fs-mac.rb Normal file
View file

@ -0,0 +1,34 @@
require_relative "../require/macfuse"
class S3fsMac < Formula
desc "FUSE-based file system backed by Amazon S3"
homepage "https://github.com/s3fs-fuse/s3fs-fuse/wiki"
url "https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.89.tar.gz"
sha256 "2bb9c8cad855df5a877440edac9539bd405850d2a3c366cebd9d1fec6f802e29"
license "GPL-2.0-or-later"
head "https://github.com/s3fs-fuse/s3fs-fuse.git"
bottle do
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/s3fs-mac-1.89"
sha256 cellar: :any, big_sur: "58bf4c03848d57791f3ba33c82a04c0b0cd45aeb08ba744cff39322ee10707cc"
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "pkg-config" => :build
depends_on "gnutls"
depends_on "libgcrypt"
depends_on "nettle"
depends_on MacfuseRequirement
depends_on :macos
def install
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking", "--with-gnutls", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/s3fs", "--version"
end
end