homebrew-core/Formula/balance.rb
2019-01-25 14:41:18 +00:00

27 lines
1 KiB
Ruby

class Balance < Formula
desc "Software load balancer"
homepage "https://www.inlab.net/balance/"
url "https://www.inlab.net/wp-content/uploads/2018/05/balance-3.57.tar.gz"
sha256 "b355f98932a9f4c9786cb61012e8bdf913c79044434b7d9621e2fa08370afbe1"
bottle do
cellar :any_skip_relocation
sha256 "1b572db3df89cacc7d1fc1f26d9247900f5bada4efe14ba48051900c70d1dece" => :mojave
sha256 "77589c441e2c89d6fb3df19b51487fb4684327fe63c5fe768224d10f81868d3c" => :high_sierra
sha256 "02b241cd5085873f6f2e78c99c01b1be6c89a3a2ff9fc12e17600035096dc44e" => :sierra
sha256 "c6af3ec64f795a6ba24400e83b3ab3753564a57f8546f0137368860bd2605421" => :el_capitan
sha256 "07f517fc19b99e5d52f6a90576ccd718650bd6a291d7c808f0d8b8193bce7779" => :yosemite
sha256 "ee916620a28cde87c90824125bf418b61eea80bc99e3aa32936e39af8acf0432" => :mavericks
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