homebrew-core/Formula/prips.rb
Baptiste Fontaine a73a881d48 prips: modernize, use sha256
Closes Homebrew/homebrew#40014.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-24 16:46:59 +08:00

16 lines
425 B
Ruby

class Prips < Formula
homepage "http://devel.ringlet.net/sysutils/prips/"
url "http://devel.ringlet.net/sysutils/prips/prips-0.9.9.tar.gz"
sha256 "ad9d8e63cd69ed682ea87c154a19e5c58a3eb4bb3a118d5f458fd86eadb3bef8"
def install
system "make"
bin.install "prips"
man1.install "prips.1"
end
test do
assert_equal "127.0.0.0\n127.0.0.1",
shell_output("#{bin}/prips 127.0.0.0/31").strip
end
end