aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ipmitool.rb
blob: 63c205826149be82b90c9543ba7d7be91d7d8c8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Ipmitool < Formula
  homepage 'http://ipmitool.sourceforge.net/'
  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

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make install"
  end
end