homebrew-core/Formula/libgadu.rb

38 lines
2.3 KiB
Ruby

class Libgadu < Formula
desc "Library for ICQ instant messenger protocol"
homepage "https://libgadu.net/"
url "https://github.com/wojtekka/libgadu/releases/download/1.12.2/libgadu-1.12.2.tar.gz"
sha256 "28e70fb3d56ed01c01eb3a4c099cc84315d2255869ecf08e9af32c41d4cbbf5d"
license "LGPL-2.1"
bottle do
sha256 cellar: :any, arm64_ventura: "ea113337d33a26b40502ef72b239b0e7eba6a01290372cb70f857e21d4daf2f1"
sha256 cellar: :any, arm64_monterey: "74b16aeaa51b6e018a7548cf7e9197836af9b6da578b86b44917813a23fdf380"
sha256 cellar: :any, arm64_big_sur: "e556444015bb575c2d7efc07815f72141da829fcc67262238f72257110226c99"
sha256 cellar: :any, ventura: "c1e8f89093019a8904f82e94cb054280ee125ee99965cae3dd48ede9f777f137"
sha256 cellar: :any, monterey: "229f1b486e46ceec14e6480aa9b3c727639a42caceb6cd556cb56cc2b8d7eabb"
sha256 cellar: :any, big_sur: "d9f8198b7a7640ec47933ebbb7d4cab50bc0f29fe20fa88126e6ecd6b116d62b"
sha256 cellar: :any, catalina: "afe9b94a62b55c700f57d853d077be96a901b450faa7ff9585a43397cacf838a"
sha256 cellar: :any, mojave: "394b7c3b78e1aa4f7960d7ffc62cefe91069a0e50b7442b62f68d2e68f5d01ad"
sha256 cellar: :any, high_sierra: "65f828f98715efbb7bb351d47e11df0fd0279b8c060233138721c119abf0879f"
sha256 cellar: :any, sierra: "4cf4bb4fa157bff6ce4e1fa58a79c372df6b0a00c5e5fd621f6396b3d55451e6"
sha256 cellar: :any, el_capitan: "1feb9c3c574632f9324fdfc8bc5ed49f2817e7a58ae280e44b0ae8735e89caca"
sha256 cellar: :any_skip_relocation, x86_64_linux: "879c676edffa46a33d49bb980f2759b9a4db1d8e505473593c1d0873266ea0dd"
end
uses_from_macos "zlib"
# Fix -flat_namespace being used on Big Sur and later.
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-pre-0.4.2.418-big_sur.diff"
sha256 "83af02f2aa2b746bb7225872cab29a253264be49db0ecebb12f841562d9a2923"
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug",
"--disable-dependency-tracking",
"--without-pthread"
system "make", "install"
end
end