aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/encfs.rb
blob: 92438144fdd8e9f9c46dc0ce80082af2eff2d17d (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.6-1.tgz'
  homepage 'http://www.arg0.net/encfs'
  md5 'db99570557cf432cca088748944fb74a'

  depends_on 'pkg-config'
  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}"
    system "make"
    system "make install"
  end
end