homebrew-core/Formula/bindfs.rb
2017-04-19 14:34:00 +01:00

36 lines
793 B
Ruby

class Bindfs < Formula
desc "FUSE file system for mounting to another location"
homepage "http://bindfs.org/"
url "http://bindfs.org/downloads/bindfs-1.13.6.tar.gz"
sha256 "3c654c2d5d9780189b87b19002ecdeb32d97914481f5f1f841f7585700f8df97"
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