homebrew-core/Formula/encfs.rb
Deniss Afonin e65bc004f3 encfs: Use fuse4x as a default FUSE provider
Fixes Homebrew/homebrew#6385.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-20 14:34:11 -07:00

29 lines
759 B
Ruby

require 'formula'
class Encfs < Formula
url 'http://encfs.googlecode.com/files/encfs-1.7.4.tgz'
homepage 'http://www.arg0.net/encfs'
md5 'ac90cc10b2e9fc7e72765de88321d617'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'boost'
depends_on 'rlog'
depends_on 'fuse4x'
def caveats
<<-EOS.undent
Make sure to follow the directions given by `brew info fuse4x-kext`
before trying to use a FUSE-based filesystem.
EOS
end
def install
inreplace "configure", "-lfuse", "-lfuse4x"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-boost=#{HOMEBREW_PREFIX}"
system "make"
system "make install"
end
end