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.
14 lines
324 B
Ruby
14 lines
324 B
Ruby
require 'formula'
|
|
|
|
class Memcached <Formula
|
|
@url='http://memcached.googlecode.com/files/memcached-1.4.0.tar.gz'
|
|
@homepage='http://www.danga.com/memcached/'
|
|
@md5='d7651ecb8bf345144cb17900d9a46c85'
|
|
|
|
depends_on 'libevent'
|
|
|
|
def install
|
|
system "./configure --prefix='#{prefix}'"
|
|
system "make install"
|
|
end
|
|
end
|