2011-09-02 23:36:10 +00:00
|
|
|
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'
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['ACLOCAL'] = "/usr/bin/aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal"
|
2012-01-27 07:29:22 +00:00
|
|
|
ENV['AUTOCONF'] = "/usr/bin/autoconf"
|
|
|
|
ENV['AUTOMAKE'] = "/usr/bin/automake"
|
|
|
|
system "/usr/bin/autoreconf", "--force", "--install"
|
2011-09-02 23:36:10 +00:00
|
|
|
|
|
|
|
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
|