2014-07-29 09:14:24 +00:00
|
|
|
class Ipinfo < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Tool for calculation of IP networks"
|
2014-07-29 09:14:24 +00:00
|
|
|
homepage "http://kyberdigi.cz/projects/ipinfo/"
|
2015-11-07 05:22:17 +00:00
|
|
|
url "http://kyberdigi.cz/projects/ipinfo/files/ipinfo-1.2.tar.gz"
|
|
|
|
sha256 "19e6659f781a48b56062a5527ff463a29c4dcc37624fab912d1dce037b1ddf2d"
|
2014-07-29 09:14:24 +00:00
|
|
|
|
2014-07-29 11:27:31 +00:00
|
|
|
bottle do
|
2015-11-07 05:47:50 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "ecb331ae035cf5963afc8e8adf371d80f936960bf0d5ba379b18761263a1b040" => :el_capitan
|
|
|
|
sha256 "e1ce332c726d060521e97a5402746a60778d91beaf28704d9ce5bb6e17451fb3" => :yosemite
|
|
|
|
sha256 "686fe99fef85ecbfdcc9c922f6cda898362d70bb9f5b9b7e1aeba8e30c284196" => :mavericks
|
2014-07-29 11:27:31 +00:00
|
|
|
end
|
|
|
|
|
2014-07-29 09:14:24 +00:00
|
|
|
def install
|
2015-11-07 05:22:17 +00:00
|
|
|
system "make", "BINDIR=#{bin}", "MANDIR=#{man1}", "install"
|
2014-07-29 09:14:24 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-11-07 05:22:17 +00:00
|
|
|
system bin/"ipinfo", "127.0.0.1"
|
2014-07-29 09:14:24 +00:00
|
|
|
end
|
|
|
|
end
|