27 lines
1 KiB
Ruby
27 lines
1 KiB
Ruby
class Balance < Formula
|
|
desc "Software load balancer"
|
|
homepage "https://www.inlab.de/balance.html"
|
|
url "https://www.inlab.de/balance-3.57.tar.gz"
|
|
sha256 "b355f98932a9f4c9786cb61012e8bdf913c79044434b7d9621e2fa08370afbe1"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "77589c441e2c89d6fb3df19b51487fb4684327fe63c5fe768224d10f81868d3c" => :high_sierra
|
|
sha256 "02b241cd5085873f6f2e78c99c01b1be6c89a3a2ff9fc12e17600035096dc44e" => :sierra
|
|
sha256 "c6af3ec64f795a6ba24400e83b3ab3753564a57f8546f0137368860bd2605421" => :el_capitan
|
|
sha256 "07f517fc19b99e5d52f6a90576ccd718650bd6a291d7c808f0d8b8193bce7779" => :yosemite
|
|
sha256 "ee916620a28cde87c90824125bf418b61eea80bc99e3aa32936e39af8acf0432" => :mavericks
|
|
sha256 "225ecddbc89a491c8ee38988d0a18d175db79d7dec5553ff35d765d2d3ee6638" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "balance"
|
|
man1.install "balance.1"
|
|
end
|
|
|
|
test do
|
|
output = shell_output("#{bin}/balance 2>&1", 64)
|
|
assert_match "this is balance #{version}", output
|
|
end
|
|
end
|