homebrew-core/Formula/lockrun.rb
2019-10-18 13:49:32 +02:00

27 lines
1.1 KiB
Ruby

class Lockrun < Formula
desc "Run cron jobs with overrun protection"
homepage "http://unixwiz.net/tools/lockrun.html"
url "http://unixwiz.net/tools/lockrun.c"
version "1.1.3"
sha256 "cea2e1e64c57cb3bb9728242c2d30afeb528563e4d75b650e8acae319a2ec547"
bottle do
cellar :any_skip_relocation
sha256 "8873fc021c96ed98f60c72b3a467aaa41f831c4c875e322efbb73343138ea829" => :catalina
sha256 "0bacda6dd0fb9ab16f5a53191506132b338ce85e3367a0d150486a3c406ced5e" => :mojave
sha256 "8e2764324f3709946ee1dc7b9c2135dca1e6c94b265d79fdb3f171809d88dfc4" => :high_sierra
sha256 "5c37b3e9c3f55cfa50379c72fc00259bffa8d3d48688bcaaa44122805ffa4c3a" => :sierra
sha256 "10782346442c28b235f80579c1b0dac3ec784fb151f7bef475757c1bde944b16" => :el_capitan
sha256 "8f2914ed87c42a369b3870b5688720cf0cc7382ae6428452ba32fdf0e422ab57" => :yosemite
sha256 "c319dba85122ea12d120a7ea3acbdc1c50ee35f2eadb274aa5ec59622b026ca0" => :mavericks
end
def install
system ENV.cc, ENV.cflags, "lockrun.c", "-o", "lockrun"
bin.install "lockrun"
end
test do
system "#{bin}/lockrun", "--version"
end
end