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/v1.80.tar.gz" sha256 "de8381c9bd73e491904e73561882dc91e5fad9c28fe88834a93d7b4fe12cbd35" head "https://github.com/s3fs-fuse/s3fs-fuse.git" bottle do cellar :any sha256 "ee4073bc8c15f2bef27189c02202e830b71aa13d1570aeb6f0462d01731ab17f" => :sierra sha256 "6f56e9ab765e3531ce375704281f304dd823aee9397abd5258bf4fc4225d3fd0" => :el_capitan sha256 "894aed9c105da125630d90a0e3017390eb60d7929fb942e86ba0dcfa55b38403" => :yosemite end depends_on "pkg-config" => :build depends_on "autoconf" => :build depends_on "automake" => :build depends_on "gnutls" depends_on "nettle" depends_on "libgcrypt" depends_on :osxfuse def install system "./autogen.sh" system "./configure", "--disable-dependency-tracking", "--with-gnutls", "--prefix=#{prefix}" system "make", "install" end def caveats; <<-EOS.undent Be aware that s3fs has some caveats concerning S3 "directories" that have been created by other tools. See the following issue for details: https://code.google.com/p/s3fs/issues/detail?id=73 EOS end test do system "#{bin}/s3fs", "--version" end end