diff options
| author | Dominyk Tiller | 2014-10-17 05:45:34 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-17 09:01:30 +0100 |
| commit | 09626442be8ec353be3b9d9d45cd083ad6d8069f (patch) | |
| tree | c4eb5e36c23f136bcb924557b90c345026b2527e /Library/Formula | |
| parent | 11f9266abef1593e92b779524a32dc4c03698999 (diff) | |
| download | homebrew-09626442be8ec353be3b9d9d45cd083ad6d8069f.tar.bz2 | |
iperf 3.0.9
Version bump, Yosemite notes, new HEAD location and setup process.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/iperf3.rb | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Library/Formula/iperf3.rb b/Library/Formula/iperf3.rb index 15b496a6e..84cc8edfd 100644 --- a/Library/Formula/iperf3.rb +++ b/Library/Formula/iperf3.rb @@ -2,9 +2,22 @@ require "formula" class Iperf3 < Formula homepage "https://github.com/esnet/iperf" - url "https://github.com/esnet/iperf/archive/3.0.7.tar.gz" - sha1 "267e020707c983b9649bb6cb76e3c1e7956ebfd4" - head "https://code.google.com/p/iperf/", :using => :hg + + stable do + url "https://github.com/esnet/iperf/archive/3.0.9.tar.gz" + sha256 "985d87e2bc3f302dd5e864022f61b053cdeafd2e6a325711a317ed6aa1b68771" + + # Remove this with next stable release please! Fixed in HEAD. + depends_on MaximumMacOSRequirement => :mavericks + end + + head do + url "https://github.com/esnet/iperf.git" + + depends_on "libtool" => :build + depends_on "automake" => :build + depends_on "autoconf" => :build + end bottle do cellar :any @@ -14,6 +27,7 @@ class Iperf3 < Formula end def install + system "./bootstrap.sh" if build.head? system "./configure", "--prefix=#{prefix}" system "make", "clean" # there are pre-compiled files in the tarball system "make", "install" |
