2010-03-19 01:04:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class S3Backer < Formula
|
2011-06-19 00:51:56 +00:00
|
|
|
url 'http://s3backer.googlecode.com/files/s3backer-1.3.2.tar.gz'
|
2010-03-19 01:04:49 +00:00
|
|
|
homepage 'http://code.google.com/p/s3backer/'
|
2011-06-19 00:51:56 +00:00
|
|
|
sha1 'badc003ffb0830a3fa59c9f39f13ad94729cbcf1'
|
2010-03-19 01:04:49 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2011-09-19 06:59:13 +00:00
|
|
|
depends_on 'fuse4x'
|
2010-03-19 01:04:49 +00:00
|
|
|
|
|
|
|
def install
|
2011-09-19 06:59:13 +00:00
|
|
|
inreplace "configure", "-lfuse", "-lfuse4x"
|
2010-03-19 01:04:49 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
|
|
|
<<-EOS.undent
|
2011-09-19 06:59:13 +00:00
|
|
|
Make sure to follow the directions given by `brew info fuse4x-kext`
|
|
|
|
before trying to use a FUSE-based filesystem.
|
2010-03-19 01:04:49 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|