2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-06 20:47:30 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Beanstalk < Formula
|
2012-03-05 16:20:20 +00:00
|
|
|
homepage 'http://kr.github.com/beanstalkd/'
|
2012-02-05 23:04:02 +00:00
|
|
|
url 'https://github.com/downloads/kr/beanstalkd/beanstalkd-1.5.tar.gz'
|
|
|
|
md5 'd75a0a93e6b80b57fea61136f6da57eb'
|
2012-03-05 16:20:20 +00:00
|
|
|
|
|
|
|
# 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
|
2009-10-06 20:47:30 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-05 23:04:02 +00:00
|
|
|
system "make install PREFIX=#{prefix}"
|
2009-10-06 20:47:30 +00:00
|
|
|
end
|
|
|
|
end
|