mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-08 17:13:58 +00:00
46 lines
1.1 KiB
Ruby
46 lines
1.1 KiB
Ruby
require_relative "../require/macfuse"
|
|
|
|
class BindfsMac < Formula
|
|
desc "FUSE file system for mounting to another location"
|
|
homepage "https://bindfs.org/"
|
|
url "https://bindfs.org/downloads/bindfs-1.17.1.tar.gz"
|
|
sha256 "edb4989144d28f75affc4f5b18074fb97a58d6ee35ad6919ac75eb6a4cbfe352"
|
|
license "GPL-2.0-or-later"
|
|
|
|
bottle do
|
|
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/bindfs-mac-1.17.1"
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "41730479fb8fa81ff002c07d33fcc21a734dab1b59b5dcaec943b8103bc369bd"
|
|
end
|
|
|
|
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 MacfuseRequirement
|
|
depends_on :macos
|
|
|
|
def install
|
|
setup_fuse
|
|
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
|