homebrew-fuse/Formula/afuse-mac.rb
2021-04-27 18:22:56 +08:00

28 lines
1 KiB
Ruby

require_relative "../require/macfuse"
class AfuseMac < Formula
desc "Automounting file system implemented in userspace with FUSE"
homepage "https://github.com/pcarrier/afuse/"
url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/afuse/afuse-0.4.1.tar.gz"
sha256 "c6e0555a65d42d3782e0734198bbebd22486386e29cb00047bc43c3eb726dca8"
license "GPL-2.0-only"
bottle do
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/afuse-mac-0.4.1"
sha256 cellar: :any, big_sur: "21172cbf00c3fafeaa02e3f9d07f83eef6ed42cb8e7ae9afce32dbd468203eb1"
sha256 cellar: :any, catalina: "cdeeba22818749e27a9625639657b4816613c34a13ded21da465ac40c82abdb7"
end
depends_on "pkg-config" => :build
depends_on MacfuseRequirement
depends_on :macos
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match "FUSE library version", pipe_output("#{bin}/afuse --version 2>&1")
end
end