aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/encfs.rb
blob: fc2a1def6f3077e6303ea3f5ee533dc13368847b (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
require 'formula'

class Encfs <Formula
  url 'http://encfs.googlecode.com/files/encfs-1.7.2.tgz'
  homepage 'http://www.arg0.net/encfs'
  md5 '3a3fef640c7c9f020104304392cd1836'

  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-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
end