1724fd4512
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
718 B
Ruby
22 lines
718 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 'boost'
|
|
depends_on 'swig' if MacOS.lion?
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--enable-shared_dependencies",
|
|
"--prefix=#{prefix}",
|
|
"--disable-dotnet",
|
|
"--disable-java",
|
|
"--disable-perl",
|
|
"--disable-php",
|
|
"--disable-python"
|
|
system "make install"
|
|
end
|
|
end
|