aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/s3fs.rb
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-09-12 11:53:28 -0700
committerCharlie Sharpsteen2011-09-12 11:53:28 -0700
commitdf6fd081a231177fe33126d0f6038353b9d7b6c0 (patch)
tree4ca94cb1f8fa66cb749fe45c164d99a1d6f63d3b /Library/Formula/s3fs.rb
parent471288b90a9a8305c99b43833a57963ecb2c8b8e (diff)
downloadhomebrew-df6fd081a231177fe33126d0f6038353b9d7b6c0.tar.bz2
New Formula: s3fs
s3fs is a tool that can mount S3 buckets as FUSE-based filesystems.
Diffstat (limited to 'Library/Formula/s3fs.rb')
-rw-r--r--Library/Formula/s3fs.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/s3fs.rb b/Library/Formula/s3fs.rb
new file mode 100644
index 000000000..b95abc22e
--- /dev/null
+++ b/Library/Formula/s3fs.rb
@@ -0,0 +1,29 @@
+require 'formula'
+
+class S3fs < Formula
+ homepage 'http://code.google.com/p/s3fs'
+ url 'http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz'
+ md5 '0dd7b7e9b1c58312cde19894488c5072'
+
+ 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