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/'
|
2014-01-21 16:04:57 +00:00
|
|
|
url 'https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.76.tar.gz'
|
|
|
|
sha1 '478aa3230b5d85bfe95d9962ee2f1d8cd35fa070'
|
2011-09-12 18:53:28 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
2014-01-21 16:04:57 +00:00
|
|
|
depends_on :autoconf
|
|
|
|
depends_on :automake
|
2011-09-12 18:53:28 +00:00
|
|
|
depends_on 'fuse4x'
|
|
|
|
|
|
|
|
def install
|
2014-01-21 16:04:57 +00:00
|
|
|
system "./autogen.sh"
|
2013-11-07 06:09:31 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2011-09-12 18:53:28 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-12 17:53:23 +00:00
|
|
|
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:
|
2011-09-12 18:53:28 +00:00
|
|
|
|
2014-02-12 17:53:23 +00:00
|
|
|
http://code.google.com/p/s3fs/issues/detail?id=73
|
2011-09-12 18:53:28 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|