Move htop to Homebrew-alt

The OS X fork of htop is unofficial, and has not been updated to work
consistently on Snow Leopard or Lion.
master
Adam Vandenberg 2012-01-29 09:45:44 -08:00
parent 1b9e8ce674
commit a4d32c516c
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
require 'formula'
class Htop < Formula
head 'https://github.com/cynthia/htop-osx.git'
homepage 'http://htop.sourceforge.net/'
def install
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install", "DEFAULT_INCLUDES='-iquote .'"
rm_rf "#{share}/applications" # Don't need Gnome support on OS X
rm_rf "#{share}/pixmaps"
end
def caveats; <<-EOS.undent
For htop to display correctly all running processes, it needs to run as root.
If you don't want to `sudo htop` every time, change the owner and permissions:
cd #{bin}
chmod 6555 htop
sudo chown root htop
EOS
end
end