Skip to content

Instantly share code, notes, and snippets.

@scottstanfield
Created May 9, 2012 16:58
Show Gist options
  • Save scottstanfield/2646690 to your computer and use it in GitHub Desktop.
Save scottstanfield/2646690 to your computer and use it in GitHub Desktop.
require 'formula'
class Freetds < Formula
url 'http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/git/freetds-0.92.51.tar.gz'
homepage 'http://www.freetds.org/'
md5 '1d5f7292c9acf3209e1814e3e98664b2'
def install
system "./configure",
"--prefix=#{prefix}",
"--with-tdsver=7.1",
"--enable-msdblib",
"--with-unixodbc=/usr/local/Cellar/unixodbc/2.3.1",
"--mandir=#{man}"
system 'make'
ENV.j1 # Or fails to install on multi-core machines
system 'make install'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment