mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-31 15:02:17 +00:00
mass rename to avoid clashes with core tap
Forgot that base formula names need to be unique, otherwise `brew upgrade` picks up the core tap formula over this replacement, leading to: ``` $ brew upgrade [...] ==> Upgrading sshfs 2.10_2 -> 3.7.1 Error: sshfs has been disabled because it requires FUSE! ```
This commit is contained in:
parent
ee76a3651b
commit
d22b36dc85
11 changed files with 30 additions and 19 deletions
40
Formula/avfs-mac.rb
Normal file
40
Formula/avfs-mac.rb
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
require_relative "../require/macfuse"
|
||||
|
||||
class AvfsMac < Formula
|
||||
desc "Virtual file system that facilitates looking inside archives"
|
||||
homepage "https://avf.sourceforge.io/"
|
||||
url "https://downloads.sourceforge.net/project/avf/avfs/1.1.4/avfs-1.1.4.tar.bz2"
|
||||
sha256 "3a7981af8557f864ae10d4b204c29969588fdb526e117456e8efd54bf8faa12b"
|
||||
|
||||
bottle do
|
||||
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/avfs-mac-1.1.4"
|
||||
sha256 big_sur: "330fbd827479a4f6f0e5f218a5b711f2693bbfd92f17735fd5057100205abaca"
|
||||
sha256 catalina: "bcce73a08b09330cf8814b03f5fe5836e46c823c33d07829fba0f865b7fda35e"
|
||||
sha256 mojave: "b10aca4aedca598335f6bc8e20c349559761a485a4bdfcc2bbcd56158b663dc5"
|
||||
end
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on MacfuseRequirement
|
||||
depends_on :macos
|
||||
depends_on "openssl@1.1"
|
||||
depends_on "xz"
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
--prefix=#{prefix}
|
||||
--disable-debug
|
||||
--disable-dependency-tracking
|
||||
--disable-silent-rules
|
||||
--enable-fuse
|
||||
--enable-library
|
||||
--with-ssl=#{Formula["openssl@1.1"].opt_prefix}
|
||||
]
|
||||
|
||||
system "./configure", *args
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"avfsd", "--version"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue