Formula for memcached

This commit is contained in:
Joshua Peek 2009-08-29 19:07:52 -05:00
parent 226b921337
commit f417831be1
2 changed files with 29 additions and 0 deletions

13
Formula/libevent.rb Normal file
View file

@ -0,0 +1,13 @@
require 'brewkit'
class Libevent <Formula
@version='1.4.12'
@url="http://www.monkey.org/~provos/libevent-#{@version}-stable.tar.gz"
@homepage='http://www.monkey.org/~provos/libevent/'
@md5='77b0d8b9885496871bb083165b35ba11'
def install
system "./configure --prefix='#{prefix}'"
system "make install"
end
end

16
Formula/memcached.rb Normal file
View file

@ -0,0 +1,16 @@
require 'brewkit'
class Memcached <Formula
@url='http://memcached.googlecode.com/files/memcached-1.4.0.tar.gz'
@homepage='http://www.danga.com/memcached/'
@md5='d7651ecb8bf345144cb17900d9a46c85'
def deps
LibraryDep.new 'libevent'
end
def install
system "./configure --prefix='#{prefix}'"
system "make install"
end
end