69488dcf63
Also, disable building Ruby bindings, as they try to install to a system folder that the user may not have permission to. Closes Homebrew/homebrew#14341.
24 lines
843 B
Ruby
24 lines
843 B
Ruby
require 'formula'
|
|
|
|
class Librets < Formula
|
|
homepage 'http://code.crt.realtors.org/projects/librets'
|
|
url 'http://www.crt.realtors.org/projects/rets/librets/files/librets-1.5.3.tar.gz'
|
|
sha1 '2de4d9e9cb26533eb0a9a090b3354a70ed3c41ec'
|
|
|
|
depends_on 'boost149'
|
|
|
|
def install
|
|
old_boost = Formula.factory("boost149")
|
|
system "./configure", "--disable-debug",
|
|
"--enable-shared_dependencies",
|
|
"--prefix=#{prefix}",
|
|
"--with-boost-prefix=#{old_boost.prefix}",
|
|
"--disable-dotnet",
|
|
"--disable-java",
|
|
"--disable-perl",
|
|
"--disable-php",
|
|
"--disable-python",
|
|
"--disable-ruby"
|
|
system "make install"
|
|
end
|
|
end
|