aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/memcached.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/memcached.rb')
-rw-r--r--Library/Formula/memcached.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/memcached.rb b/Library/Formula/memcached.rb
new file mode 100644
index 000000000..fda521f1d
--- /dev/null
+++ b/Library/Formula/memcached.rb
@@ -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