diff --git a/Aliases/sshfs b/Aliases/sshfs new file mode 120000 index 00000000000..9a6b816dea3 --- /dev/null +++ b/Aliases/sshfs @@ -0,0 +1 @@ +../Formula/sshfs-fuse.rb \ No newline at end of file diff --git a/Formula/sshfs-fuse.rb b/Formula/sshfs-fuse.rb new file mode 100644 index 00000000000..f60797e3aa4 --- /dev/null +++ b/Formula/sshfs-fuse.rb @@ -0,0 +1,29 @@ +require 'formula' + +class SshfsFuse :build + depends_on 'glib' + depends_on 'gettext' + + def install + ENV.append_to_cflags "-DDARWIN_SEMAPHORE_COMPAT" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + + def patches + "http://macfuse.googlecode.com/svn/trunk/filesystems/sshfs/sshfs-fuse-2.2-macosx.patch" + end + + def caveats + <<-EOS.undent + This depends on the MacFUSE installation from http://code.google.com/p/macfuse/ + MacFUSE must be installed prior to installing this formula. + EOS + end +end