homebrew-core/Formula/mysql++.rb
Ben Poweski 1a5b03aee0 New formula: MySQL++
MySQL++ is a C++ wrapper for the MySQL C API.  The maximum number of
columns allowable in a result set has been increased from 25 to 40 to
accommodate a wider range of projects without needing to recompile the
library.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-13 19:27:25 -05:00

18 lines
562 B
Ruby

require 'formula'
class Mysqlxx < Formula
url 'http://tangentsoft.net/mysql++/releases/mysql++-3.1.0.tar.gz'
homepage 'http://tangentsoft.net/mysql++/'
md5 'd92769cc579b87a60e58a77099cc4f0e'
depends_on 'mysql-connector-c'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-field-limit=40",
"--with-mysql-include=#{HOMEBREW_PREFIX}/include"
system "make install"
end
end