homebrew-core/Formula/net-snmp.rb

20 lines
676 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class NetSnmp < Formula
homepage 'http://www.net-snmp.org/'
2012-02-15 03:59:34 +00:00
url 'http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.1/net-snmp-5.7.1.tar.gz'
md5 'c95d08fd5d93df0c11a2e1bdf0e01e0b'
def install
system "./configure", "--prefix=#{prefix}",
2012-02-15 03:59:34 +00:00
"--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