homebrew-core/Formula/cpulimit.rb
Baptiste Fontaine 4bd95ebfaa cpulimit: use sha256
Closes Homebrew/homebrew#39694.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-13 14:22:17 +08:00

16 lines
402 B
Ruby

class Cpulimit < Formula
homepage "https://github.com/opsengine/cpulimit"
url "https://github.com/opsengine/cpulimit/archive/v0.1.tar.gz"
sha256 "6e653150aae18dd72f7dd93d92ee5f200eb8fef89e6c0bed28a2e3233dc29f23"
head "https://github.com/opsengine/cpulimit.git"
def install
system "make"
bin.install "src/cpulimit"
end
test do
system *%W[#{bin}/cpulimit -l 10 ls]
end
end