librets: use boost 1.49

Also, disable building Ruby bindings, as they try to install to a
system folder that the user may not have permission to.

Closes #14341.
This commit is contained in:
Adam Vandenberg committed 2012-10-31 21:35:07 -07:00
1 parent 2bc0d2f120
commit 09a34332ef
1 file changed
+5 -3
+5 -3
View File
@@ -5,18 +5,20 @@ class Librets < Formula
url 'http://www.crt.realtors.org/projects/rets/librets/files/librets-1.5.3.tar.gz'
sha1 '2de4d9e9cb26533eb0a9a090b3354a70ed3c41ec'
depends_on 'boost'
depends_on 'swig' if MacOS.version >= :lion
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-python",
"--disable-ruby"
system "make install"
end
end