homebrew-core/Formula/s3fs.rb

34 lines
1.0 KiB
Ruby

class S3fs < 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/refs/tags/v1.91.tar.gz"
sha256 "f130fec375dc6972145c56f53e83ea7c98c82621406d0208a328989e5d900b0f"
license "GPL-2.0-or-later"
head "https://github.com/s3fs-fuse/s3fs-fuse.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, x86_64_linux: "40366ae4c296e3095014f8639d77d0ede2b0f8f960d305a8ed43f0b160702fff"
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "pkg-config" => :build
depends_on "curl"
depends_on "gnutls"
depends_on "libfuse@2"
depends_on "libgcrypt"
depends_on "libxml2"
depends_on :linux # on macOS, requires closed-source macFUSE
depends_on "nettle"
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