aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJannis Leidel2009-10-17 14:45:30 +0200
committerMax Howell2009-10-19 04:02:48 +0100
commit1c5b57dd6d81cfbf3d095a60b0537f5b4aa22d78 (patch)
tree39f91694aaf72e47f5d0f02f74951cbd9e882d90 /Library/Formula
parent86f773d92cb472167e0847933883b380346cd4a4 (diff)
downloadhomebrew-1c5b57dd6d81cfbf3d095a60b0537f5b4aa22d78.tar.bz2
htop formula
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.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/htop.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/htop.rb b/Library/Formula/htop.rb
new file mode 100644
index 000000000..5a5f515ee
--- /dev/null
+++ b/Library/Formula/htop.rb
@@ -0,0 +1,15 @@
+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