smartmontools: enable some configure options
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
6d69db875c
commit
d71d5cfec0
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue