homebrew-core/Formula/sshfs.rb
Andrew Janke c8d2d41c1d Change github /tarball/ URLs to /archive/ for formulae L-Z
This takes care of a `brew audit` complaint.

Closes Homebrew/homebrew#18828.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-29 14:59:28 -07:00

30 lines
846 B
Ruby

require 'formula'
class Sshfs < Formula
homepage 'http://fuse.sourceforge.net/sshfs.html'
url 'https://github.com/fuse4x/sshfs/archive/sshfs_2_4_0.tar.gz'
sha1 '30b81ac7f32125088652937568d8886e3bb3f6e2'
depends_on :automake
depends_on :libtool
depends_on 'pkg-config' => :build
depends_on 'fuse4x'
depends_on 'glib'
def install
# Compatibility with Automake 1.13 and newer.
inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
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