aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorEdward George2010-08-22 19:56:08 +0100
committerAdam Vandenberg2010-10-22 09:27:07 -0700
commit9c4f207f82d6aa1b8b2255f62e19b94ef1907130 (patch)
treeae85ef490696225a5560c5fdd488c77ff4041b86 /Library
parent9d2182f5bf04667456f59d5d72af343f12a0fb2d (diff)
downloadhomebrew-9c4f207f82d6aa1b8b2255f62e19b94ef1907130.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library')
l---------Library/Aliases/sshfs1
-rw-r--r--Library/Formula/sshfs-fuse.rb29
2 files changed, 30 insertions, 0 deletions
diff --git a/Library/Aliases/sshfs b/Library/Aliases/sshfs
new file mode 120000
index 000000000..9a6b816de
--- /dev/null
+++ b/Library/Aliases/sshfs
@@ -0,0 +1 @@
+../Formula/sshfs-fuse.rb \ No newline at end of file
diff --git a/Library/Formula/sshfs-fuse.rb b/Library/Formula/sshfs-fuse.rb
new file mode 100644
index 000000000..f60797e3a
--- /dev/null
+++ b/Library/Formula/sshfs-fuse.rb
@@ -0,0 +1,29 @@
+require 'formula'
+
+class SshfsFuse <Formula
+ url 'http://downloads.sourceforge.net/project/fuse/sshfs-fuse/2.2/sshfs-fuse-2.2.tar.gz'
+ homepage 'http://fuse.sourceforge.net/sshfs.html'
+ md5 '26e9206eb5169e87e6f95f54bc005a4f'
+
+ depends_on 'pkg-config' => :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