diff options
| author | Andre Arko | 2009-10-10 15:47:16 -0700 |
|---|---|---|
| committer | Max Howell | 2009-10-12 17:26:27 +0100 |
| commit | 286997a37568653662adf9ae900fe2669d1120b9 (patch) | |
| tree | 956be4120b105f3cc40147fc4e8809fbbf3a057c /Library/Formula | |
| parent | e6cfadc446d4cae1d3457cdcc4b46a422e7fc459 (diff) | |
| download | homebrew-286997a37568653662adf9ae900fe2669d1120b9.tar.bz2 | |
Formula for MRTG, a tool to monitor server stats using SNMP
Also MRTG's dep, the GD library
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gd.rb | 13 | ||||
| -rw-r--r-- | Library/Formula/mrtg.rb | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb new file mode 100644 index 000000000..023675d7f --- /dev/null +++ b/Library/Formula/gd.rb @@ -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 diff --git a/Library/Formula/mrtg.rb b/Library/Formula/mrtg.rb new file mode 100644 index 000000000..3b644f9c9 --- /dev/null +++ b/Library/Formula/mrtg.rb @@ -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 |
