aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/encfs.rb
blob: f7a4ebafa71f89efc0615ddf5c70f60839abd7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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'

  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
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--with-boost=#{HOMEBREW_PREFIX}"
    system "make"
    system "make install"
  end
end