aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-09-02 16:36:10 -0700
committerCharlie Sharpsteen2011-09-11 18:54:23 -0700
commit6c8956d77c561eb567027f427978ae99c6fba1c5 (patch)
tree6ae79ee7fdc2b04c2741d8922ad521a266cb55c8 /Library/Formula
parent6748b167e1cc8546f04c079572522e29e7b4b518 (diff)
downloadhomebrew-6c8956d77c561eb567027f427978ae99c6fba1c5.tar.bz2
New Formula: SSHFS
Allows a remote computer to be mounted as a FUSE filesystem through a SSH connection. Also a good "hello, world!" program for FUSE.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sshfs.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/sshfs.rb b/Library/Formula/sshfs.rb
new file mode 100644
index 000000000..2c08934fb
--- /dev/null
+++ b/Library/Formula/sshfs.rb
@@ -0,0 +1,28 @@
+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"
+ system "autoreconf", "--force", "--install"
+
+ 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