Formula for MRTG, a tool to monitor server stats using SNMP

Also MRTG's dep, the GD library
This commit is contained in:
Andre Arko 2009-10-10 15:47:16 -07:00 committed by Max Howell
parent 592d7bddcb
commit 924dab52ff
2 changed files with 27 additions and 0 deletions

13
Formula/gd.rb Normal file
View file

@ -0,0 +1,13 @@
require 'brewkit'
class Gd <Formula
version "2.0.36RC1"
url "http://www.libgd.org/releases/gd-#{version}.tar.gz"
homepage "http://www.libgd.org"
md5 "39ac48e6d5e0012a3bd2248a0102f209"
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end

14
Formula/mrtg.rb Normal file
View file

@ -0,0 +1,14 @@
require 'brewkit'
class Mrtg <Formula
url 'http://oss.oetiker.ch/mrtg/pub/mrtg-2.16.2.zip'
homepage 'http://oss.oetiker.ch/mrtg/'
md5 'c085b85d1f93f459cef9e889bf654fd5'
depends_on 'gd'
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
end