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>
master
Ben Poweski 2011-08-28 15:56:49 -05:00 committed by Jack Nagel
parent 2a43a41fad
commit 1a5b03aee0
1 changed files with 18 additions and 0 deletions

18
Formula/mysql++.rb Normal file
View File

@ -0,0 +1,18 @@
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