Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cecef0350a
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (17 sloc) 0.693 kb
require 'formula'
class Openldap < Formula
homepage 'http://www.openldap.org/software/'
url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.24.tgz'
sha1 'a4baad3d45ae5810ba5fee48603210697c70d52f'
depends_on 'berkeley-db' if build.include? "with-berkeley-db"
option 'with-berkeley-db', 'Compile with Berkeley-DB support'
skip_clean 'var/run'
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
args << "--enable-bdb=no" unless build.include? "with-berkeley-db"
args << "--enable-hdb=no" unless build.include? "with-berkeley-db"
system "./configure", *args
system "make install"
(var+'run').mkpath
end
end
Jump to Line
Something went wrong with that request. Please try again.