homebrew-core/Formula/libmemcached.rb

17 lines
419 B
Ruby
Raw Normal View History

2009-10-26 05:01:23 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Libmemcached < Formula
homepage 'http://libmemcached.org'
2012-06-05 04:03:18 +00:00
url 'http://launchpad.net/libmemcached/1.0/1.0.8/+download/libmemcached-1.0.8.tar.gz'
sha1 'ac1925aea002d8ad28d709aa374d057c73e322af'
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?
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