2010-06-18 03:49:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Encfs < Formula
|
2011-03-20 17:01:07 +00:00
|
|
|
url 'http://encfs.googlecode.com/files/encfs-1.7.4.tgz'
|
2010-06-18 03:49:12 +00:00
|
|
|
homepage 'http://www.arg0.net/encfs'
|
2011-03-20 17:01:07 +00:00
|
|
|
md5 'ac90cc10b2e9fc7e72765de88321d617'
|
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'
|
|
|
|
|
|
|
|
def caveats
|
|
|
|
<<-EOS.undent
|
|
|
|
encfs requires MacFUSE 2.6 or later to be installed.
|
|
|
|
You can find MacFUSE at:
|
|
|
|
http://code.google.com/p/macfuse/
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
2011-03-21 23:51:31 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-boost=#{HOMEBREW_PREFIX}"
|
2010-06-18 03:49:12 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|