2010-03-29 13:36:21 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Innotop < Formula
|
2010-03-29 13:36:21 +00:00
|
|
|
homepage 'http://code.google.com/p/innotop/'
|
2013-08-10 15:35:16 +00:00
|
|
|
url 'http://innotop.googlecode.com/files/innotop-1.9.1.tar.gz'
|
|
|
|
sha1 '6b0b5f492e7188152727f6c157043be180ba516a'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-03-29 13:36:21 +00:00
|
|
|
depends_on 'DBD::mysql' => :perl
|
2013-04-11 02:03:23 +00:00
|
|
|
depends_on 'Term::ReadKey' => :perl
|
|
|
|
|
2010-03-29 13:36:21 +00:00
|
|
|
def install
|
2012-05-15 18:31:21 +00:00
|
|
|
system "perl", "Makefile.PL", "PREFIX=#{prefix}"
|
2010-03-29 13:36:21 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|