mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-06 16:15:54 +00:00
btfs-mac: add 2.24 bottle.
This commit is contained in:
parent
7287b39a4e
commit
2095c64fb5
1 changed files with 37 additions and 0 deletions
37
Formula/btfs-mac.rb
Normal file
37
Formula/btfs-mac.rb
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
require_relative "../require/macfuse"
|
||||||
|
|
||||||
|
class BtfsMac < Formula
|
||||||
|
desc "BitTorrent filesystem based on FUSE"
|
||||||
|
homepage "https://github.com/johang/btfs"
|
||||||
|
url "https://github.com/johang/btfs/archive/v2.24.tar.gz"
|
||||||
|
sha256 "d71ddefe3c572e05362542a0d9fd0240d8d4e1578ace55a8b3245176e7fd8935"
|
||||||
|
license "GPL-3.0-only"
|
||||||
|
head "https://github.com/johang/btfs.git"
|
||||||
|
|
||||||
|
bottle do
|
||||||
|
root_url "https://github.com/gromgit/homebrew-fuse/releases/download/btfs-mac-2.24"
|
||||||
|
sha256 cellar: :any, big_sur: "d92d62980a61112eaf05240b150122226cabaaeb9e52910d06a3db5475c9cf0d"
|
||||||
|
end
|
||||||
|
|
||||||
|
depends_on "autoconf" => :build
|
||||||
|
depends_on "automake" => :build
|
||||||
|
depends_on "pkg-config" => :build
|
||||||
|
depends_on "libtorrent-rasterbar"
|
||||||
|
depends_on MacfuseRequirement
|
||||||
|
depends_on :macos
|
||||||
|
|
||||||
|
def install
|
||||||
|
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 "make", "install"
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
system "#{bin}/btfs", "--help"
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Add table
Add a link
Reference in a new issue