2010-06-18 03:49:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Encfs < Formula
|
2010-06-18 03:49:12 +00:00
|
|
|
homepage 'http://www.arg0.net/encfs'
|
2012-11-25 19:42:57 +00:00
|
|
|
url 'http://encfs.googlecode.com/files/encfs-1.7.4.tgz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '3d824ba188dbaabdc9e36621afb72c651e6e2945'
|
2010-06-18 03:49:12 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-18 03:49:12 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'boost'
|
|
|
|
depends_on 'rlog'
|
2011-09-19 06:32:53 +00:00
|
|
|
depends_on 'fuse4x'
|
2010-06-18 03:49:12 +00:00
|
|
|
|
|
|
|
def install
|
2011-09-19 06:32:53 +00:00
|
|
|
inreplace "configure", "-lfuse", "-lfuse4x"
|
2011-09-01 20:59:27 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2011-03-21 23:51:31 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-boost=#{HOMEBREW_PREFIX}"
|
2010-06-18 03:49:12 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
2012-11-25 19:42:57 +00:00
|
|
|
|
|
|
|
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
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|