Skip to content

Instantly share code, notes, and snippets.

@kidbrax
Created June 15, 2011 23:58
Show Gist options
  • Save kidbrax/1028429 to your computer and use it in GitHub Desktop.
Save kidbrax/1028429 to your computer and use it in GitHub Desktop.
homebrew formulas for librets
require 'formula'
class Librets < Formula
url 'http://www.crt.realtors.org/projects/rets/librets/files/librets-1.5.2.tar.gz'
homepage 'http://code.crt.realtors.org/projects/librets'
md5 '74bcea0eb11f3c66cde5dc3ecea05224'
depends_on 'boost'
depends_on 'curl'
depends_on 'expat'
def install
system "./configure",
"--disable-debug",
"--enable-shared_dependencies",
"--prefix=#{prefix}",
"--disable-dotnet",
"--disable-java",
"--disable-perl",
"--disable-php",
"--disable-python",
"--enable-ruby",
"my_use_ruby=yes"
system "make install"
end
end
require 'formula'
class Swig < Formula
url 'http://downloads.sourceforge.net/project/swig/swig/swig-2.0.0/swig-2.0.0.tar.gz'
homepage 'http://www.swig.org'
md5 '36ee2d9974be46a9f0a36460af928eb9'
def install
system "./configure",
"--disable-debug",
"--with-ruby",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment