homebrew-core/Formula/bindfs.rb

44 lines
1.1 KiB
Ruby
Raw Normal View History

2017-03-19 18:34:18 +00:00
class Bindfs < Formula
desc "FUSE file system for mounting to another location"
2017-11-28 11:29:09 +00:00
homepage "https://bindfs.org/"
url "https://bindfs.org/downloads/bindfs-1.13.9.tar.gz"
sha256 "acfa2ca9d604f4147c42758ccbb4a429855df26768dfe70521ba5d7a0596f8b5"
2017-03-19 18:34:18 +00:00
2017-04-19 13:11:57 +00:00
bottle do
cellar :any
2017-11-30 11:53:10 +00:00
sha256 "7af619973ac822cd21215f60f29b8468f61b6104158830e172be8231e773b05c" => :high_sierra
sha256 "89f82a2b44e1b8861c917e9f5a3479edc0136ba20a48fe5e1b7597514219b5e5" => :sierra
sha256 "be32d6c5fd45382418c52c28ee9722486d71b23cb8dffa42ecf1179442518c0f" => :el_capitan
2017-04-19 13:11:57 +00:00
end
2017-03-19 18:34:18 +00:00
head do
url "https://github.com/mpartel/bindfs.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "pkg-config" => :build
depends_on :osxfuse
def install
args = %W[
--disable-debug
--disable-dependency-tracking
--prefix=#{prefix}
]
if build.head?
system "./autogen.sh", *args
else
system "./configure", *args
end
system "make", "install"
end
test do
system "#{bin}/bindfs", "-V"
end
end