blob: a9d5f8bc05be555ac7a1ac31a9eab9d7d427b3d6 (
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
29
30
|
require 'formula'
class Sshfs < Formula
homepage 'http://fuse.sourceforge.net/sshfs.html'
url 'https://github.com/fuse4x/sshfs.git', :tag => 'sshfs_2_3_0'
version '2.3.0'
depends_on 'pkg-config' => :build
depends_on 'fuse4x'
depends_on 'glib'
depends_on "automake" if MacOS.xcode_version >= "4.3"
def install
ENV['ACLOCAL'] = "aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal"
ENV['AUTOCONF'] = "autoconf"
ENV['AUTOMAKE'] = "automake"
system "autoreconf", "--force", "--install"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
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
end
|