homebrew-core/Formula/encfs.rb

30 lines
768 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Encfs < Formula
url 'http://encfs.googlecode.com/files/encfs-1.7.4.tgz'
homepage 'http://www.arg0.net/encfs'
sha1 '3d824ba188dbaabdc9e36621afb72c651e6e2945'
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"
2011-09-01 20:59:27 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-boost=#{HOMEBREW_PREFIX}"
system "make"
system "make install"
end
2011-03-10 05:11:03 +00:00
end