blob: 4025640b3108303b33a2a7758692a7a1eb0dfec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  | 
require "formula"
class Freeipmi < Formula
  homepage "http://www.gnu.org/software/freeipmi/"
  url "http://ftpmirror.gnu.org/freeipmi/freeipmi-1.4.3.tar.gz"
  sha1 "83d5f54ba98874e3e26c3b4d9ceaf48894667eef"
  bottle do
    sha1 "1ac5427faba16ce4beafbc447c068d37cf9c3493" => :mavericks
    sha1 "0503402e0b8ed546db82808852396afbbd29e37b" => :mountain_lion
    sha1 "94f888c548f17d7a3e06397353a4e768f1b20b8a" => :lion
  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
  |