Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added htop-osx: patched version of htop 0.8.2.1.

Closes #11727.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information...
commit 86cdaf84e37acba1bfc11d8d566c6419777ac8d4 1 parent 81c7a19
@max-horvath max-horvath authored mikemcquaid committed
Showing with 16 additions and 0 deletions.
  1. +1 −0  Library/Aliases/htop
  2. +15 −0 Library/Formula/htop-osx.rb
View
1  Library/Aliases/htop
View
15 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
@adamv Owner
adamv added a note

Really starting to wish we could do depends_on :automake and have this conditional come along for free.

@mikemcquaid Owner

Yeh, agreed. We could probably add a special case in the depends_on function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+
+ def install
+ system "./autogen.sh"
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make", "install", "DEFAULT_INCLUDES='-iquote .'"
+ end
+end
@adamv

Really starting to wish we could do depends_on :automake and have this conditional come along for free.

@mikemcquaid

Yeh, agreed. We could probably add a special case in the depends_on function?

Please sign in to comment.
Something went wrong with that request. Please try again.