homebrew-core/Formula/smartmontools.rb
Jack Nagel be33f34fcf smartmontools 6.0
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-03 13:09:57 -05:00

21 lines
731 B
Ruby

require 'formula'
class Smartmontools < Formula
homepage 'http://sourceforge.net/apps/trac/smartmontools/'
url 'http://downloads.sourceforge.net/project/smartmontools/smartmontools/6.0/smartmontools-6.0.tar.gz'
sha1 '752a6c087c09b203c229da3b1506a8c40a5158ad'
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