homebrew-core/Formula/gsmartcontrol.rb
Lars Tobias Skjong-Børsting 202fc71c39 gsmartcontrol 0.8.7
Closes Homebrew/homebrew#17279.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-12 11:12:05 -07:00

25 lines
613 B
Ruby

require 'formula'
class Gsmartcontrol < Formula
homepage 'http://gsmartcontrol.berlios.de/'
url 'http://download.berlios.de/gsmartcontrol/gsmartcontrol-0.8.7.tar.bz2'
sha1 '36c255e8f493b003a616cb1eff3a86ccc6b8f80a'
depends_on 'pkg-config' => :build
depends_on :x11
depends_on 'smartmontools'
depends_on 'gtkmm'
depends_on 'pcre'
depends_on 'libglademm'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
def test
system "#{bin}/gsmartcontrol", "--version"
end
end