61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
16 lines
394 B
Ruby
16 lines
394 B
Ruby
require 'formula'
|
|
|
|
# TODO alias: beanstalkd
|
|
|
|
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'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|