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 sha1 "d157639542e6b17bb4881cbde0aef98594da7764" => :yosemite sha1 "c28e303637b7f156d01c3fc132294c863c2f60c2" => :mavericks sha1 "57ee54e2f8157acf5f2b76cd869ca9dd1b97c777" => :mountain_lion end def install system "#{ENV.cc} #{ENV.cflags} lockrun.c -o lockrun" bin.install "lockrun" end end