aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/s3fs.rb
blob: b0205b8e4af0f051217e53166f0fa3a1f85286b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'formula'

class S3fs < Formula
  homepage 'http://code.google.com/p/s3fs/'
  url 'https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.76.tar.gz'
  sha1 '478aa3230b5d85bfe95d9962ee2f1d8cd35fa070'

  depends_on "pkg-config" => :build
  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "fuse4x"

  def install
    system "./autogen.sh"
    system "./configure", "--disable-dependency-tracking", "--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:

      http://code.google.com/p/s3fs/issues/detail?id=73
    EOS
  end
end