2010-03-19 01:04:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class S3Backer < Formula
|
2010-03-19 01:04:49 +00:00
|
|
|
homepage 'http://code.google.com/p/s3backer/'
|
2012-11-19 01:31:54 +00:00
|
|
|
url 'http://s3backer.googlecode.com/files/s3backer-1.3.3.tar.gz'
|
|
|
|
sha1 '0aa837279c9232260a8f9d0d76097b144684044f'
|
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
|