aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/beanstalk.rb
blob: cbe3b697eb9444cd67c815cb820f6e846c536b14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Beanstalk <Formula
  url 'http://xph.us/dist/beanstalkd/beanstalkd-1.4.tar.gz'
  md5 'eea47c86c722c4448087fb28be7357cd'
  homepage 'http://xph.us/software/beanstalkd/'

  depends_on 'libevent'

  aka 'beanstalkd'

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}", "--with-event=#{HOMEBREW_PREFIX}"

    system "make install"
  end
end