homebrew-core/Formula/freeipmi.rb

29 lines
1 KiB
Ruby
Raw Normal View History

class Freeipmi < Formula
desc "In-band and out-of-band IPMI (v1.5/2.0) software"
homepage "https://www.gnu.org/software/freeipmi/"
url "http://ftpmirror.gnu.org/freeipmi/freeipmi-1.4.9.tar.gz"
mirror "https://ftp.gnu.org/gnu/freeipmi/freeipmi-1.4.9.tar.gz"
sha256 "178b11ea24d59337581dbb827551deb2fa4ed8f551656300fa66573123775d6c"
2014-03-04 09:07:40 +00:00
bottle do
2015-08-04 05:42:37 +00:00
sha256 "35a7f4c5a6c00f3ba22294b0b22cf95bbbe2bd339a3b7b6ae05dee19738e63eb" => :yosemite
sha256 "22f8d1ef9bb9cb989ca02e035b2f466524f10610d5d12a8d1fb9dd62eefab80f" => :mavericks
sha256 "ee380370279915cd118536747fe189131f0506f4d3a6879b4d65724155c752a6" => :mountain_lion
2014-03-04 09:07:40 +00:00
end
2014-05-18 17:07:55 +00:00
depends_on "argp-standalone"
depends_on "libgcrypt"
def install
2014-05-18 17:07:55 +00:00
system "./configure", "--prefix=#{prefix}"
# This is a big hammer to disable building the man pages
# It breaks under homebrew's build system and I'm not sure why
inreplace "man/Makefile", "install: install-am", "install:"
2014-05-18 17:07:55 +00:00
system "make", "install"
end
test do
system "#{sbin}/ipmi-fru", "--version"
end
end