2011-09-12 18:53:28 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class S3fs < Formula
|
2011-09-14 04:35:54 +00:00
|
|
|
homepage 'http://code.google.com/p/s3fs/'
|
2013-06-24 10:54:11 +00:00
|
|
|
url 'http://s3fs.googlecode.com/files/s3fs-1.71.tar.gz'
|
|
|
|
sha1 'c2a37c833ffa49c8ecc84cc9fcf213d2dd132784'
|
2011-09-12 18:53:28 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'fuse4x'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
|
|
|
<<-EOS.undent
|
|
|
|
Make sure to follow the directions given by `brew info fuse4x-kext`
|
|
|
|
before trying to use a FUSE-based filesystem.
|
|
|
|
|
|
|
|
Also, be aware that s3fs has some caveats concerning S3 "directories"
|
|
|
|
that have been created by other tools. See the following issue for
|
|
|
|
details:
|
|
|
|
|
|
|
|
http://code.google.com/p/s3fs/issues/detail?id=73
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|