homebrew-core/Formula/sshfs.rb

39 lines
1.1 KiB
Ruby
Raw Normal View History

2017-03-19 18:34:20 +00:00
class Sshfs < Formula
desc "File system client based on SSH File Transfer Protocol"
homepage "https://osxfuse.github.io/"
url "https://github.com/libfuse/sshfs/releases/download/sshfs-2.9/sshfs-2.9.tar.gz"
sha256 "46d1e1287ce97255fcb50010355184d8c5585329f73ab1e755217419a8e6e5de"
2017-03-19 18:34:20 +00:00
2017-04-19 13:11:59 +00:00
bottle do
cellar :any
2017-04-19 19:50:14 +00:00
sha256 "bcbf5da34a36c42fdc495f13eef2e6393c7c8269082ad47a33ba8de3762472d4" => :sierra
sha256 "eac485f8d8d5b5d04905eed01f82b1436f6fea5d658dd2af1603ffb8381536d7" => :el_capitan
sha256 "7e2f3a208e10a8c05a2183e2bb251e191b5b66d11d8c4f8f09569d9bd7325fdc" => :yosemite
2017-04-19 13:11:59 +00:00
end
2017-03-19 18:34:20 +00:00
option "without-sshnodelay", "Don't compile NODELAY workaround for ssh"
depends_on "pkg-config" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on :osxfuse
depends_on "glib"
def install
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
args << "--disable-sshnodelay" if build.without? "sshnodelay"
system "./configure", *args
system "make", "install"
end
test do
system "#{bin}/sshfs", "--version"
end
end