8d0aec3f03
Closes Homebrew/homebrew#16912. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
433 B
Ruby
16 lines
433 B
Ruby
require 'formula'
|
|
|
|
class Libmemcached < Formula
|
|
homepage 'http://libmemcached.org'
|
|
url 'https://launchpad.net/libmemcached/1.0/1.0.15/+download/libmemcached-1.0.15.tar.gz'
|
|
sha1 'd49ceec8efcc13c2a6ab15416d9caeeeeaa49a48'
|
|
|
|
depends_on 'memcached'
|
|
|
|
def install
|
|
ENV.append_to_cflags "-undefined dynamic_lookup" if MacOS.version == :leopard
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|