diff options
| author | include | 2010-11-16 17:26:14 +0000 |
|---|---|---|
| committer | Adam Vandenberg | 2011-02-22 22:42:38 -0800 |
| commit | fae2d2f590ff3f9279e8930b11f5f3f2ac3433d5 (patch) | |
| tree | 109df5c3b7cdc8b3a95271ee9595a5a0c3148497 /Library/Formula | |
| parent | f9987e4f7486f1e6fb3700e5bbc8d4a316c36299 (diff) | |
| download | homebrew-fae2d2f590ff3f9279e8930b11f5f3f2ac3433d5.tar.bz2 | |
net-snmp 5.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/net-snmp.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/net-snmp.rb b/Library/Formula/net-snmp.rb new file mode 100644 index 000000000..7ddfb2a24 --- /dev/null +++ b/Library/Formula/net-snmp.rb @@ -0,0 +1,19 @@ +require 'formula' + +class NetSnmp <Formula + url 'http://downloads.sourceforge.net/project/net-snmp/net-snmp/5.6/net-snmp-5.6.tar.gz' + homepage 'http://www.net-snmp.org/' + md5 '89b3a7a77e68daef925abee43a3f7018' + + def install + system "./configure", "--prefix=#{prefix}", + "--with-persistent-directory=/var/db/net-snmp", + "--with-defaults", + "--without-rpm", + "--with-mib-modules=host ucd-snmp/diskio", + "--with-out-mib-modules=mibII/icmp", + "--without-kmem-usage" + system "make" + system "make install" + end +end |
