From 8afc0dbe740fc15f89b9cec1ff7f3cb8284effca Mon Sep 17 00:00:00 2001 From: Edward George Date: Sun, 22 Aug 2010 19:56:08 +0100 Subject: [PATCH] New formula: sshfs-fuse 2.2 This is a filesystem client based on the SSH File Transfer Protocol. Depends on having MacFuse already installed via the binary installer. Signed-off-by: Adam Vandenberg --- Aliases/sshfs | 1 + Formula/sshfs-fuse.rb | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 120000 Aliases/sshfs create mode 100644 Formula/sshfs-fuse.rb 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