2010-03-29 13:36:21 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Innotop < Formula
|
2012-04-10 19:21:03 +00:00
|
|
|
url 'http://innotop.googlecode.com/files/innotop-1.8.1.tar.gz'
|
2010-03-29 13:36:21 +00:00
|
|
|
homepage 'http://code.google.com/p/innotop/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'a8d8deb5a40bca1890d24f355ae317254dfc4102'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-03-29 13:36:21 +00:00
|
|
|
depends_on 'DBD::mysql' => :perl
|
|
|
|
|
|
|
|
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
|