homebrew-core/Formula/smartmontools.rb
Jack Nagel 29f8f2daae smartmontools 5.42
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-28 14:53:12 -06:00

21 lines
724 B
Ruby

require 'formula'
class Smartmontools < Formula
url 'http://downloads.sourceforge.net/project/smartmontools/smartmontools/5.42/smartmontools-5.42.tar.gz'
homepage 'http://sourceforge.net/apps/trac/smartmontools/'
md5 '4460bf9a79a1252ff5c00ba52cf76b2a'
def install
(var+'run').mkpath
(var+'lib/smartmontools').mkpath
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--sysconfdir=#{etc}",
"--localstatedir=#{var}",
"--enable-drivedb",
"--enable-savestates",
"--enable-attributelog"
system "make install"
end
end