aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ipcalc.rb
blob: 8405d2424a9c0c6980223ee95a58490453a22786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class Ipcalc < Formula
  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