From 18fd4f122d41aca306ea17d86feacbbbf44ad05f Mon Sep 17 00:00:00 2001 From: Lars Tobias Skjong-Børsting Date: Thu, 24 Jan 2013 09:19:37 +0100 Subject: gsmartcontrol 0.8.7 Closes #17279. Signed-off-by: Adam Vandenberg --- Library/Formula/gsmartcontrol.rb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Library/Formula/gsmartcontrol.rb (limited to 'Library/Formula') diff --git a/Library/Formula/gsmartcontrol.rb b/Library/Formula/gsmartcontrol.rb new file mode 100644 index 000000000..28c317493 --- /dev/null +++ b/Library/Formula/gsmartcontrol.rb @@ -0,0 +1,25 @@ +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 -- cgit v1.2.3