aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Horvath2012-05-03 10:18:22 -0600
committerMike McQuaid2012-05-03 10:19:05 +0800
commit86cdaf84e37acba1bfc11d8d566c6419777ac8d4 (patch)
tree923cf9a6c69b573f20b8cbec8f8abf87f0b3b731 /Library/Formula
parent81c7a19ff803b55cc80683c526b51e72db53c414 (diff)
downloadhomebrew-86cdaf84e37acba1bfc11d8d566c6419777ac8d4.tar.bz2
Added htop-osx: patched version of htop 0.8.2.1.
Closes #11727. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/htop-osx.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/htop-osx.rb b/Library/Formula/htop-osx.rb
new file mode 100644
index 000000000..91104e52b
--- /dev/null
+++ b/Library/Formula/htop-osx.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class HtopOsx < Formula
+ url 'https://github.com/max-horvath/htop-osx/tarball/0.8.2.1-2012-04-18'
+ homepage 'https://github.com/max-horvath/htop-osx'
+ md5 'c1e91e6afe98ec124dab12f420c855da'
+
+ depends_on "automake" => :build if MacOS.xcode_version.to_f >= 4.3
+
+ def install
+ system "./autogen.sh"
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make", "install", "DEFAULT_INCLUDES='-iquote .'"
+ end
+end