Skip to content

Instantly share code, notes, and snippets.

@msamoylov
Created August 13, 2013 14:34
Show Gist options
  • Save msamoylov/0ed331975dacd7b8f919 to your computer and use it in GitHub Desktop.
Save msamoylov/0ed331975dacd7b8f919 to your computer and use it in GitHub Desktop.
brew edit librets
require 'formula'
class Librets < Formula
url 'http://www.crt.realtors.org/projects/rets/librets/files/librets-1.5.3.tar.gz'
homepage 'http://code.crt.realtors.org/projects/librets'
md5 'a23c8ae01f1169ea3c79438ba4e92c78'
depends_on 'boost149'
depends_on 'swig'
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-ruby"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment