2011-02-24 05:06:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Librets < Formula
|
|
|
|
homepage 'http://code.crt.realtors.org/projects/librets'
|
2012-07-03 17:31:02 +00:00
|
|
|
url 'http://www.crt.realtors.org/projects/rets/librets/files/librets-1.5.3.tar.gz'
|
|
|
|
sha1 '2de4d9e9cb26533eb0a9a090b3354a70ed3c41ec'
|
2011-02-24 05:06:24 +00:00
|
|
|
|
2012-11-01 04:35:07 +00:00
|
|
|
depends_on 'boost149'
|
2011-02-24 05:06:24 +00:00
|
|
|
|
|
|
|
def install
|
2012-11-01 04:35:07 +00:00
|
|
|
old_boost = Formula.factory("boost149")
|
2011-02-24 05:06:24 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--enable-shared_dependencies",
|
|
|
|
"--prefix=#{prefix}",
|
2012-11-01 04:35:07 +00:00
|
|
|
"--with-boost-prefix=#{old_boost.prefix}",
|
2011-02-24 05:06:24 +00:00
|
|
|
"--disable-dotnet",
|
|
|
|
"--disable-java",
|
|
|
|
"--disable-perl",
|
|
|
|
"--disable-php",
|
2012-11-01 04:35:07 +00:00
|
|
|
"--disable-python",
|
|
|
|
"--disable-ruby"
|
2011-02-24 05:06:24 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|