homebrew-core/Formula/mysql++.rb
Michael Ford d0b8719b04 MYSQL++ 3.2.0
Closes Homebrew/homebrew#22235.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-31 08:18:02 -07:00

19 lines
640 B
Ruby

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