homebrew-core/Formula/openldap.rb
Tianyi Cui 8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00

22 lines
726 B
Ruby

require 'formula'
class Openldap <Formula
url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.23.tgz'
homepage 'http://www.openldap.org/software/'
md5 '90150b8c0d0192e10b30157e68844ddf'
depends_on 'berkeley-db'
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
end