2014-02-11 15:46:06 +00:00
|
|
|
class Cputhrottle < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Limit the CPU usage of a process"
|
2014-02-11 15:46:06 +00:00
|
|
|
homepage "http://www.willnolan.com/cputhrottle/cputhrottle.html"
|
|
|
|
url "http://www.willnolan.com/cputhrottle/cputhrottle.tar.gz"
|
|
|
|
version "20100515"
|
2015-10-05 12:44:11 +00:00
|
|
|
sha256 "fdf284e1c278e4a98417bbd3eeeacf40db684f4e79a9d4ae030632957491163b"
|
2014-02-11 15:46:06 +00:00
|
|
|
|
2014-02-11 17:06:58 +00:00
|
|
|
bottle do
|
2015-10-15 07:50:48 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
revision 1
|
|
|
|
sha256 "44be3076a501f8a5ff481e2433528c912496544c2932b1a75ee104b152370386" => :el_capitan
|
|
|
|
sha256 "820ba7f42568e30b05492a7a525f69ab916fb8f46dd6d8a367671892434b3f04" => :yosemite
|
|
|
|
sha256 "c1d43f7acfc4faa75fd02fa9e76224c542198f7455c394095452963c223d8172" => :mavericks
|
2014-02-11 17:06:58 +00:00
|
|
|
end
|
|
|
|
|
2014-02-11 15:46:06 +00:00
|
|
|
depends_on "boost" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "all"
|
|
|
|
bin.install "cputhrottle"
|
|
|
|
end
|
|
|
|
end
|