homebrew-core/Formula/ipcalc.rb
2015-06-05 14:47:57 +01:00

14 lines
392 B
Ruby

class Ipcalc < Formula
desc "Calculate various network masks, etc. from a given IP address"
homepage "http://jodies.de/ipcalc"
url "http://jodies.de/ipcalc-archive/ipcalc-0.41.tar.gz"
sha256 "dda9c571ce3369e5b6b06e92790434b54bec1f2b03f1c9df054c0988aa4e2e8a"
def install
bin.install "ipcalc"
end
test do
system "#{bin}/ipcalc", "--nobinary", "192.168.0.1/24"
end
end