some formula updates from core

This commit is contained in:
Adrian Ho 2022-11-25 17:44:29 +08:00
parent 149d4e70c7
commit ee81c58f07
4 changed files with 20 additions and 13 deletions

View file

@ -5,6 +5,17 @@ class AvfsMac < Formula
homepage "https://avf.sourceforge.io/"
url "https://downloads.sourceforge.net/project/avf/avfs/1.1.4/avfs-1.1.4.tar.bz2"
sha256 "3a7981af8557f864ae10d4b204c29969588fdb526e117456e8efd54bf8faa12b"
license all_of: [
"GPL-2.0-only",
"LGPL-2.0-only", # for shared library
"GPL-2.0-or-later", # modules/dav_ls.c
"Zlib", # zlib/*
]
livecheck do
url :stable
regex(%r{url=.*?/avfs[._-]v?(\d+(?:\.\d+)+)\.t}i)
end
bottle do
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/avfs-mac-1.1.4"
@ -24,16 +35,13 @@ class AvfsMac < Formula
def install
setup_fuse
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 "./configure", *std_configure_args, *args
system "make", "install"
end

View file

@ -28,11 +28,8 @@ class BtfsMac < Formula
setup_fuse
ENV.cxx11
inreplace "configure.ac", "fuse >= 2.8.0", "fuse >= 2.7.3"
system "autoreconf", "--force", "--install"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "autoreconf", "--force", "--install", "--verbose"
system "./configure", *std_configure_args, "--disable-silent-rules"
system "make", "install"
end

View file

@ -8,6 +8,11 @@ class GcsfuseMac < Formula
license "Apache-2.0"
head "https://github.com/GoogleCloudPlatform/gcsfuse.git"
livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
end
bottle do
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/gcsfuse-mac-0.41.8"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ff2183a35b6b4487a931c661cdff8f888e561bcaa0a9ca6a435d5f01bc501a64"

View file

@ -40,10 +40,7 @@ class Ntfs3gMac < Formula
setup_fuse
ENV.append "LDFLAGS", "-lintl"
args = %W[
--disable-debug
--disable-dependency-tracking
--prefix=#{prefix}
args = std_configure_args + %W[
--exec-prefix=#{prefix}
--mandir=#{man}
--with-fuse=external