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