homebrew-core/Formula/openldap.rb

23 lines
726 B
Ruby
Raw Normal View History

2010-03-25 21:54:26 +00:00
require 'formula'
class Openldap <Formula
2010-07-22 00:00:47 +00:00
url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.23.tgz'
2010-03-25 21:54:26 +00:00
homepage 'http://www.openldap.org/software/'
2010-07-22 00:00:47 +00:00
md5 '90150b8c0d0192e10b30157e68844ddf'
2010-03-25 21:54:26 +00:00
depends_on 'berkeley-db'
2010-03-25 21:54:26 +00:00
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
def caveats; <<-EOS.undent
OpenLDAP depends on berkeley-db 4.x, but Homebrew provides version 5.x,
which doesn't work. To work around this, do:
$ brew install https://github.com/adamv/homebrew/raw/versions/Library/Formula/berkeley-db4.rb --without-java
$ brew install --ignore-dependencies openldap
EOS
end
2010-03-25 21:54:26 +00:00
end