smartmontools: enable some configure options

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2011-10-10 17:40:25 -05:00
parent 6d69db875c
commit d71d5cfec0

View file

@ -6,7 +6,16 @@ class Smartmontools < Formula
md5 '4577886bea79d4ff12bd9a7d323ce692'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--sysconfdir=#{etc}"
(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