2011-08-28 20:56:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Mysqlxx < Formula
|
|
|
|
url 'http://tangentsoft.net/mysql++/releases/mysql++-3.1.0.tar.gz'
|
|
|
|
homepage 'http://tangentsoft.net/mysql++/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '9bd383ad932dce8cc1948ec76eed9036419d427f'
|
2011-08-28 20:56:49 +00:00
|
|
|
|
|
|
|
depends_on 'mysql-connector-c'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-field-limit=40",
|
2011-09-28 16:06:36 +00:00
|
|
|
"--with-mysql-lib=#{HOMEBREW_PREFIX}/lib",
|
2011-08-28 20:56:49 +00:00
|
|
|
"--with-mysql-include=#{HOMEBREW_PREFIX}/include"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|