2011-09-02 23:36:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Sshfs < Formula
|
|
|
|
homepage 'http://fuse.sourceforge.net/sshfs.html'
|
2013-03-29 20:29:20 +00:00
|
|
|
url 'https://github.com/fuse4x/sshfs/archive/sshfs_2_4_0.tar.gz'
|
|
|
|
sha1 '30b81ac7f32125088652937568d8886e3bb3f6e2'
|
2011-09-02 23:36:10 +00:00
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
|
|
|
|
2011-09-02 23:36:10 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'fuse4x'
|
|
|
|
depends_on 'glib'
|
|
|
|
|
|
|
|
def install
|
2013-01-06 06:00:04 +00:00
|
|
|
# Compatibility with Automake 1.13 and newer.
|
|
|
|
inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
|
|
|
|
|
2012-02-27 03:44:55 +00:00
|
|
|
system "autoreconf", "--force", "--install"
|
2011-09-02 23:36:10 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Make sure to follow the directions given by `brew info fuse4x-kext`
|
|
|
|
before trying to use a FUSE-based filesystem.
|
2011-09-02 23:36:10 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|