homebrew-core/Formula/beanstalk.rb
Julio Viera e75d31f9f3 Beanstalk: patch to prevent 100% cpu useage
patch commit: 80da772efe
bug report: https://github.com/kr/beanstalkd/issues/96

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-05 21:39:19 -08:00

18 lines
520 B
Ruby

require 'formula'
class Beanstalk < Formula
homepage 'http://kr.github.com/beanstalkd/'
url 'https://github.com/downloads/kr/beanstalkd/beanstalkd-1.5.tar.gz'
md5 'd75a0a93e6b80b57fea61136f6da57eb'
# fix cpu use on freebsd and darwin
# bug report: https://github.com/kr/beanstalkd/issues/96
# Will be in next release
def patches
{:p1 => "http://github.com/kr/beanstalkd/commit/80da772efeeaabb12893f52a93da74ca9e69206d.patch"}
end
def install
system "make install PREFIX=#{prefix}"
end
end