2011-09-02 23:36:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Sshfs < Formula
|
|
|
|
homepage 'http://fuse.sourceforge.net/sshfs.html'
|
2012-04-13 22:42:24 +00:00
|
|
|
url 'https://github.com/fuse4x/sshfs/tarball/sshfs_2_4_0'
|
|
|
|
md5 'c9ea547b9684ec4d85437393a2731322'
|
2012-03-13 22:51:39 +00:00
|
|
|
version '2.4.0'
|
2011-09-02 23:36:10 +00:00
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
|
|
|
|
2011-09-02 23:36:10 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'fuse4x'
|
|
|
|
depends_on 'glib'
|
|
|
|
|
|
|
|
def install
|
2012-02-27 03:44:55 +00:00
|
|
|
system "autoreconf", "--force", "--install"
|
2011-09-02 23:36:10 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2012-07-07 18:08:22 +00:00
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Make sure to follow the directions given by `brew info fuse4x-kext`
|
|
|
|
before trying to use a FUSE-based filesystem.
|
2011-09-02 23:36:10 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|