homebrew-core/Formula/cpulimit.rb
Vítor Galvão a617922acc cpulimit: update homepage
Closes Homebrew/homebrew#19414.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-24 14:42:59 -05:00

18 lines
395 B
Ruby

require 'formula'
class Cpulimit < Formula
homepage 'https://github.com/opsengine/cpulimit'
url 'https://github.com/opsengine/cpulimit/archive/v0.1.tar.gz'
sha1 'b7c16821a3e04698b79b28905b68b8c518417466'
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