mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-08 09:11:37 +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
34
Formula/archivemount-mac.rb
Normal file
34
Formula/archivemount-mac.rb
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
require_relative "../require/macfuse"
|
||||
|
||||
class ArchivemountMac < Formula
|
||||
desc "File system for accessing archives using libarchive"
|
||||
homepage "https://www.cybernoia.de/software/archivemount.html"
|
||||
url "https://www.cybernoia.de/software/archivemount/archivemount-0.9.1.tar.gz"
|
||||
sha256 "c529b981cacb19541b48ddafdafb2ede47a40fcaf16c677c1e2cd198b159c5b3"
|
||||
|
||||
bottle do
|
||||
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/archivemount-mac-0.9.1"
|
||||
sha256 cellar: :any, big_sur: "c6f48f507e80e6b0686bcf675e875046f66580b5d940171e4fa0a3eb9c9db563"
|
||||
sha256 cellar: :any, catalina: "b0b8165a5e48a06374be4bdeeec67bdbf0f0181132af6679ccdc8451c2de55f5"
|
||||
sha256 cellar: :any, mojave: "b7d12374987608fe9e1bc96d8e61de5de960d750ae0bdcb6d7f6e6191cc26d35"
|
||||
end
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libarchive"
|
||||
depends_on MacfuseRequirement
|
||||
depends_on :macos
|
||||
|
||||
def install
|
||||
ENV.append_to_cflags "-I/usr/local/include/osxfuse"
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}"
|
||||
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"archivemount", "--version"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue