aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBen Poweski2011-08-28 15:56:49 -0500
committerJack Nagel2011-09-13 19:27:25 -0500
commit294b9b477172443f56da20b21053933488c56a35 (patch)
treee4faac8086e1b0a78ac11f09e3bbcad28c4f42ee /Library/Formula
parent802f1085fcf3b8d210d674e8fa918d2cf41b880f (diff)
downloadhomebrew-294b9b477172443f56da20b21053933488c56a35.tar.bz2
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>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mysql++.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/mysql++.rb b/Library/Formula/mysql++.rb
new file mode 100644
index 000000000..d3c0d485c
--- /dev/null
+++ b/Library/Formula/mysql++.rb
@@ -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