homebrew-core/Formula/innotop.rb

16 lines
384 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Innotop < Formula
homepage 'http://code.google.com/p/innotop/'
url 'https://innotop.googlecode.com/files/innotop-1.9.1.tar.gz'
sha1 '6b0b5f492e7188152727f6c157043be180ba516a'
depends_on 'DBD::mysql' => :perl
depends_on 'Term::ReadKey' => :perl
def install
system "perl", "Makefile.PL", "PREFIX=#{prefix}"
system "make install"
end
end