Formula for memcached
This commit is contained in:
parent
226b921337
commit
f417831be1
2 changed files with 29 additions and 0 deletions
13
Formula/libevent.rb
Normal file
13
Formula/libevent.rb
Normal 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
16
Formula/memcached.rb
Normal 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
|
Loading…
Reference in a new issue