aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSean P. Kane2014-03-03 09:34:12 -0800
committerMike McQuaid2014-03-04 08:36:09 +0000
commit332c4dd7f08a49f34ca9e73aea3078ce04e757da (patch)
tree13f5f3d238aa6a2b7042c4dccdedcba77728a658 /Library/Formula
parent5dbfad96de493bbd470c134efb36d05b29efd9c8 (diff)
downloadhomebrew-332c4dd7f08a49f34ca9e73aea3078ce04e757da.tar.bz2
freeipmi 1.4.1
Closes #27161. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/freeipmi.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/freeipmi.rb b/Library/Formula/freeipmi.rb
new file mode 100644
index 000000000..3f1dd478a
--- /dev/null
+++ b/Library/Formula/freeipmi.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Freeipmi < Formula
+ homepage 'http://www.gnu.org/software/freeipmi/'
+ url 'http://ftpmirror.gnu.org/freeipmi/freeipmi-1.4.1.tar.gz'
+ sha1 'd59fd66e6fe9a58437d55a4bdd96ee431a8348e4'
+
+ 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