2009-12-13 05:58:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Ipmitool < Formula
|
2009-12-13 05:58:00 +00:00
|
|
|
homepage 'http://ipmitool.sourceforge.net/'
|
2012-06-10 18:04:27 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/ipmitool/ipmitool/1.8.11/ipmitool-1.8.11.tar.bz2'
|
|
|
|
sha1 '9f6667c3d47ca56f8c0803ea7849ed375133cb72'
|
|
|
|
|
|
|
|
fails_with :clang do
|
|
|
|
cause 'error: non-void functions should return a value'
|
|
|
|
end
|
2009-12-13 05:58:00 +00:00
|
|
|
|
|
|
|
def install
|
2012-06-10 18:04:27 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2009-12-13 05:58:00 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|