blob: d9c65ee6056f82d9ed49e9cfccb2c62ca364568c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
assert_equal "127.0.0.0\n127.0.0.1", `'#{bin}/prips' 127.0.0.0/31`.strip
end
end
|