aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmemcached.rb
blob: 9d83e2fcec89ff005f2429885dd480b94a427aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Libmemcached < Formula
  homepage 'http://libmemcached.org'
  url 'http://launchpad.net/libmemcached/1.0/1.0.8/+download/libmemcached-1.0.8.tar.gz'
  sha1 'ac1925aea002d8ad28d709aa374d057c73e322af'

  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