homebrew-core/Formula/sipsak.rb

35 lines
1.7 KiB
Ruby

class Sipsak < Formula
desc "SIP Swiss army knife"
homepage "https://github.com/nils-ohlmeier/sipsak/"
url "https://github.com/nils-ohlmeier/sipsak/releases/download/0.9.8.1/sipsak-0.9.8.1.tar.gz"
sha256 "c6faa022cd8c002165875d4aac83b7a2b59194f0491802924117fc6ac980c778"
license "GPL-2.0-or-later"
bottle do
rebuild 1
sha256 cellar: :any, arm64_ventura: "fdf8e854dbe1034dbf7a71760e4246bc6550a322954888fd0673284eedfcbe55"
sha256 cellar: :any, arm64_monterey: "e125f43909ca4f4a28524262a30f0e9428db17ba255c9ebe99fae92d031ee1f2"
sha256 cellar: :any, arm64_big_sur: "3ea5541c6c9e917890818c783eb555a6952ddb839ee431d4ab2fda5529e9a9d6"
sha256 cellar: :any, ventura: "617c93ad77b71f6c68eb81eb2a6c8e6c084ece627be89a18b37fcf2fbad66aac"
sha256 cellar: :any, monterey: "4346791be5ee36c5436de257f75ccf2ef31ac8f99883566c8679bf8e4d13d361"
sha256 cellar: :any, big_sur: "f2f76d68fa6c9c88abcd0132201a395a54f2ad31c73ee49dcbfcb69dbfb20ede"
sha256 cellar: :any, catalina: "3a756aed37b8bd2a3ff62c517847c82732fd2f9a7b5bf85dfac83704d18d6539"
sha256 cellar: :any_skip_relocation, x86_64_linux: "73f5a4948c437e0d89e33ff28f04842ef4c954fcfd9ed432da36620c20b6ca24"
end
depends_on "openssl@3"
def install
ENV.append "CFLAGS", "-std=gnu89"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make", "install"
end
test do
system "#{bin}/sipsak", "-V"
end
end