blob: 28c317493bc21a2a878ec99387daaf3660cf8f3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|