mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
1 parent
2a430bfdcd
commit
244e99c5ae
1 file changed
+6
@@ -8,6 +8,10 @@ class Ejabberd < Formula
|
||||
depends_on "openssl" if MacOS.leopard?
|
||||
depends_on "erlang"
|
||||
|
||||
def options
|
||||
[['--odbc', "Build with ODBC support."]]
|
||||
end
|
||||
|
||||
def install
|
||||
ENV['TARGET_DIR'] = ENV['DESTDIR'] = "#{lib}/ejabberd/erlang/lib/ejabberd-#{version}"
|
||||
ENV['MAN_DIR'] = man
|
||||
@@ -23,6 +27,8 @@ class Ejabberd < Formula
|
||||
args << "--with-openssl=#{openssl.prefix}"
|
||||
end
|
||||
|
||||
args << "--enable-odbc" if ARGV.include? '--odbc'
|
||||
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
system "make install"
|
||||
|
||||
Reference in new issue
Block a user