2010-05-27 04:17:06 +00:00
|
|
|
class Daemontools < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Collection of tools for managing UNIX services"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://cr.yp.to/daemontools.html"
|
|
|
|
url "http://cr.yp.to/daemontools/daemontools-0.76.tar.gz"
|
|
|
|
sha256 "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f"
|
2010-05-27 04:17:06 +00:00
|
|
|
|
2015-08-22 22:31:03 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "76b0d6f7594ee7283cd9f03d081d2b05091d9e955c8a5742b3d4f182b560ec63" => :yosemite
|
|
|
|
sha256 "36deeab31e18b85393d47feb9f426c352a348796985c3a1e84ad2ceb658999e1" => :mavericks
|
|
|
|
sha256 "a4b87a1af9856c1287a822b630f045b64466e074135144eb4aaf3039a5af92c1" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2010-05-27 04:17:06 +00:00
|
|
|
def install
|
2013-04-18 06:45:45 +00:00
|
|
|
cd "daemontools-#{version}" do
|
2010-05-27 04:17:06 +00:00
|
|
|
system "package/compile"
|
|
|
|
bin.install Dir["command/*"]
|
|
|
|
end
|
|
|
|
end
|
2015-08-22 22:19:05 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match /Homebrew/, shell_output("#{bin}/softlimit -t 1 echo 'Homebrew'")
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|