2014-10-20 20:45:40 +00:00
|
|
|
require "formula"
|
2011-09-12 18:53:28 +00:00
|
|
|
|
|
|
|
class S3fs < Formula
|
2014-10-20 20:45:40 +00:00
|
|
|
homepage "http://code.google.com/p/s3fs/"
|
|
|
|
url "https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.76.tar.gz"
|
|
|
|
sha1 "478aa3230b5d85bfe95d9962ee2f1d8cd35fa070"
|
|
|
|
revision 1
|
2011-09-12 18:53:28 +00:00
|
|
|
|
2014-06-01 01:39:27 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
2014-10-20 20:45:40 +00:00
|
|
|
depends_on "openssl"
|
2014-06-01 01:39:27 +00:00
|
|
|
depends_on "fuse4x"
|
2011-09-12 18:53:28 +00:00
|
|
|
|
|
|
|
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}"
|
2014-10-20 20:45:40 +00:00
|
|
|
system "make", "install"
|
2011-09-12 18:53:28 +00:00
|
|
|
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
|