homebrew-core/Formula/librets.rb

23 lines
729 B
Ruby
Raw Normal View History

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.version >= :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