Skip to content

Instantly share code, notes, and snippets.

@mikesparr
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikesparr/5609e549cf30726facc3 to your computer and use it in GitHub Desktop.
Save mikesparr/5609e549cf30726facc3 to your computer and use it in GitHub Desktop.
Homebrew librets 1.6.1 formula (mine using Py and Java bindings)
require 'formula'
class Librets < Formula
homepage 'http://code.crt.realtors.org/projects/librets'
url 'https://github.com/NationalAssociationOfRealtors/libRETS/archive/1.6.1.tar.gz'
sha1 '0078524e12ced0ac98c472c8a9e69c8d12d24546'
depends_on 'swig'
depends_on 'boost'
depends_on 'autoconf'
def install
system "./autogen.sh"
system "./configure", "--disable-debug",
"--enable-shared_dependencies",
"--prefix=#{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