2009-10-26 05:01:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libmemcached < Formula
|
2011-07-28 23:03:11 +00:00
|
|
|
url 'http://launchpad.net/libmemcached/1.0/0.50/+download/libmemcached-0.50.tar.gz'
|
2010-09-05 23:34:11 +00:00
|
|
|
homepage 'http://libmemcached.org'
|
2011-07-28 23:03:11 +00:00
|
|
|
md5 'c8627014a37cd821cf93317b8de6f9f8'
|
2009-10-26 05:01:23 +00:00
|
|
|
|
|
|
|
depends_on 'memcached'
|
|
|
|
|
|
|
|
def install
|
2011-04-08 18:16:37 +00:00
|
|
|
ENV.append_to_cflags "-undefined dynamic_lookup" if MacOS.leopard?
|
2010-12-09 23:19:06 +00:00
|
|
|
|
2009-10-26 05:01:23 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|