fc4fb52478
Htop is an ncursed-based process viewer similar to top, but it allows to scroll the list vertically and horizontally to see all processes and their full command lines.
15 lines
346 B
Ruby
15 lines
346 B
Ruby
require 'formula'
|
|
|
|
class Htop <Formula
|
|
head 'git://github.com/AndyA/htop-osx.git', :branch => 'osx'
|
|
homepage 'http://htop.sourceforge.net/'
|
|
|
|
depends_on 'ncursesw'
|
|
|
|
def install
|
|
system "./autogen.sh"
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
|
|
end
|