aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gsmartcontrol.rb25
1 files changed, 25 insertions, 0 deletions
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