33 lines
1.3 KiB
Ruby
33 lines
1.3 KiB
Ruby
class Sersniff < Formula
|
|
desc "Program to tunnel/sniff between 2 serial ports"
|
|
homepage "https://www.earth.li/projectpurple/progs/sersniff.html"
|
|
url "https://www.earth.li/projectpurple/files/sersniff-0.0.5.tar.gz"
|
|
sha256 "8aa93f3b81030bcc6ff3935a48c1fd58baab8f964b1d5e24f0aaecbd78347209"
|
|
license "GPL-2.0"
|
|
head "https://the.earth.li/git/sersniff.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
rebuild 1
|
|
sha256 "8b4c1c881a01c7bbcd7a21883723d91328ed82697d0e944e01f566c43afeafd5" => :big_sur
|
|
sha256 "96f5d56b1d6c9acb8b465a1912fbd03f6837e0ffabf643200b40528ec7984358" => :catalina
|
|
sha256 "89c553505287f0cbd3ef2d46c6b04eb328d0748db6e60511b25d24cefcab83ce" => :mojave
|
|
sha256 "eb3cf737a135049c3f7b8bacf4d71670dfc755a1b266f41f0865fb8983a53d55" => :high_sierra
|
|
sha256 "077112b0300e14f956fbe45ff650cf973e04c355707a3add63b8efc7fc047737" => :sierra
|
|
sha256 "abde8af644fecfa883abf597486fd269b379001ae29161fbd21777d0506edc86" => :el_capitan
|
|
sha256 "c0c00897dd19dc6f8dff05b57e961079c8f783ba9afc345cac9f064dd2ae6630" => :yosemite
|
|
sha256 "cd8d98e4360a068975fa25f1816e1a79533b46e5da65e455a0498d334daa1761" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "sersniff"
|
|
man8.install "sersniff.8"
|
|
end
|
|
|
|
test do
|
|
assert_match(/sersniff v#{version}/,
|
|
shell_output("#{bin}/sersniff -h 2>&1", 1))
|
|
end
|
|
end
|