27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
class Shmcat < Formula
|
|
desc "Tool that dumps shared memory segments (System V and POSIX)"
|
|
homepage "https://shmcat.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/shmcat/shmcat-1.9.tar.xz"
|
|
sha256 "831f1671e737bed31de3721b861f3796461ebf3b05270cf4c938749120ca8e5b"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "f86090c36d839092913667dcfc924f76c71d318a03434a1e608b3960b1df7807" => :catalina
|
|
sha256 "e052a4f6b21407c032c1ee5a79fe9b1c08e78b7980c1cd3d6bfbfa8ffe639a58" => :mojave
|
|
sha256 "ff73e6df8b663b4f382098ce75a9ec4634d4658c5378b3ad122de135e30d44ab" => :high_sierra
|
|
sha256 "5ee7bcafe69d653421e29b56cf2e48a55874dc1e092e817a83cb446cda4acf01" => :sierra
|
|
sha256 "1b6ddaf528253df2e2d5b93e97b6f4ade717ff8f3f6bcf829ed7cf9d9e682539" => :el_capitan
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--disable-dependency-tracking",
|
|
"--disable-ftok",
|
|
"--disable-nls"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match /#{version}/, shell_output("#{bin}/shmcat --version")
|
|
end
|
|
end
|