mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 13:09:47 -05:00
New Formula: prips
prips is a tool to print IP addresses for a given range. Closes #17941. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
cb45f34eb0
commit
583ee248db
1 file changed
+17
@@ -0,0 +1,17 @@
|
||||
require 'formula'
|
||||
|
||||
class Prips < Formula
|
||||
homepage 'http://devel.ringlet.net/sysutils/prips/'
|
||||
url 'http://devel.ringlet.net/sysutils/prips/prips-0.9.9.tar.gz'
|
||||
sha1 '8e11c993f8525b2345cfbfb15801364d5a65a7dc'
|
||||
|
||||
def install
|
||||
system "make"
|
||||
bin.install "prips"
|
||||
man1.install "prips.1"
|
||||
end
|
||||
|
||||
test do
|
||||
`'#{bin}/prips' 127.0.0.0/31`.strip == "127.0.0.0\n127.0.0.1"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user