homebrew-core/Formula/mrtg.rb

28 lines
1.2 KiB
Ruby

class Mrtg < Formula
desc "Multi router traffic grapher"
homepage "https://oss.oetiker.ch/mrtg/"
url "https://oss.oetiker.ch/mrtg/pub/mrtg-2.17.7.tar.gz"
sha256 "9b94cb268fb15b0304ad3bb3ec92b9a8a16dacfcee72baac19298224a2c332c3"
bottle do
sha256 cellar: :any, arm64_big_sur: "a1b3746893c8a50b75735a622cecdea8ae87d0ed4adaa18a9aadd473238fe271"
sha256 cellar: :any, big_sur: "657438ce4eea4830cd467cc64bd8f653b9a025e8052b6c1b5e8811bbd837cc91"
sha256 cellar: :any, catalina: "cae75a7387673aa555bf72112a1a00e24f9c2c87f87ffe2fcdf839c6b31a95ce"
sha256 cellar: :any, mojave: "cca3b58b58a453636d67bd041f56df487ce86eb7f592178bd9f8745e35e0f5f0"
sha256 cellar: :any, high_sierra: "8a76630f04f1c8b6883d7621cf9c72456e22fa5206a8b2b3eb6527547d048fbb"
sha256 cellar: :any, sierra: "71561d0dbd12007514597dc85bf8ecb5e76e32f0feb35eb126b0998a30db49c8"
sha256 cellar: :any, el_capitan: "0d434588f3d22e55db11fe23baa82a5e1a4a8ccbcab84dfd74ddc1a0dafc085c"
end
depends_on "gd"
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/cfgmaker", "--nointerfaces", "localhost"
end
end