29 lines
1.1 KiB
Ruby
29 lines
1.1 KiB
Ruby
class Log4cpp < Formula
|
|
desc "Configurable logging for C++"
|
|
homepage "https://log4cpp.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.3.tar.gz"
|
|
sha256 "2cbbea55a5d6895c9f0116a9a9ce3afb86df383cd05c9d6c1a4238e5e5c8f51d"
|
|
license "LGPL-2.1"
|
|
|
|
livecheck do
|
|
url :stable
|
|
regex(%r{url=.*?/log4cpp[._-]v?(\d+(?:\.\d+)+)\.t}i)
|
|
end
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "3e08cff5384ae60222e67b63aadfda07534daa4d962b66167c5ffd8c1a55edf7" => :catalina
|
|
sha256 "0e0950a9b99a406b035e13c8acae673ce190a436920940d8150abe0c90cf1e84" => :mojave
|
|
sha256 "a80304325ab0f551054b169320c6f726f1c8a78d56eb56e7f14793c0f8cc8836" => :high_sierra
|
|
sha256 "db55c3b9dff2f2248d96c71672cb6032efc16a4803ce12dd52c278bd14b9abc8" => :sierra
|
|
sha256 "dee0bf8b96b1d0de3beb5f2d23cf1e868e6dfd3ec9814e2c4c5eab21432d73e3" => :el_capitan
|
|
sha256 "19e858f7cf8e47d1c10be1c379feb9faae36d78274a53a4240dcab813a3e382c" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|