homebrew-core/Formula/babeld.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

33 lines
1,022 B
Ruby

class Babeld < Formula
desc "Loop-avoiding distance-vector routing protocol"
homepage "http://www.pps.univ-paris-diderot.fr/~jch/software/babel/"
head "https://github.com/jech/babeld.git"
stable do
url "http://www.pps.univ-paris-diderot.fr/~jch/software/files/babeld-1.5.1.tar.gz"
sha256 "73aac784d57a02932cdf1774099927b85bc746fbd4807098c1fed62a85b509b2"
patch do
url "https://github.com/jech/babeld/commit/049003.diff"
sha256 "eeb72a61a7c35631c78d4afe54bc48d6aff2b16f92a1eebd95bbc382d909306c"
end
end
bottle do
cellar :any
sha1 "a965f70b84f8fea7ce7a7f92252e61d01a6b9e7b" => :yosemite
sha1 "22262a12d06cf83d35f351a49d6af7e40e7f554d" => :mavericks
sha1 "69e5c32092ccfdaeaff3615fbbaf15e41e327e41" => :mountain_lion
end
def install
system "make", "LDLIBS=''"
system "make", "install", "PREFIX=#{prefix}"
end
def caveats; <<-EOS.undent
Due to changing network interfaces, this tool
requires the usage of `sudo` at runtime.
EOS
end
end