28 lines
1 KiB
Ruby
28 lines
1 KiB
Ruby
class Freeipmi < Formula
|
|
desc "In-band and out-of-band IPMI (v1.5/2.0) software"
|
|
homepage "https://www.gnu.org/software/freeipmi/"
|
|
url "https://ftpmirror.gnu.org/freeipmi/freeipmi-1.5.3.tar.gz"
|
|
mirror "https://ftp.gnu.org/gnu/freeipmi/freeipmi-1.5.3.tar.gz"
|
|
sha256 "5d36225b01cc965812e234e708d640381d030edf7689d4264d6f64c26a3c9868"
|
|
|
|
bottle do
|
|
sha256 "71d8847c4317468e98ef2d90655c22310b9b5bed18d06660bf7800948f95a316" => :el_capitan
|
|
sha256 "d60bfed8bc72a489ae58594d57e2f2d3880ab1406567103ec79cb5daec18d147" => :yosemite
|
|
sha256 "11ff07e0c66aa0184826a993f42e057283fb99cc49c4bbc852c5839e7849fd1c" => :mavericks
|
|
end
|
|
|
|
depends_on "argp-standalone"
|
|
depends_on "libgcrypt"
|
|
|
|
def install
|
|
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:"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system sbin/"ipmi-fru", "--version"
|
|
end
|
|
end
|