homebrew-core/Formula/mysql++.rb
2015-06-05 14:47:57 +01:00

28 lines
916 B
Ruby

require 'formula'
class Mysqlxx < Formula
desc "C++ wrapper for MySQL's C API"
homepage 'http://tangentsoft.net/mysql++/'
url 'http://tangentsoft.net/mysql++/releases/mysql++-3.2.1.tar.gz'
sha1 '1ce5a4484b66d9852718412315e1409cafd8c397'
bottle do
cellar :any
sha1 "51f59174988a858aabde99fbb4bee90da14b3f05" => :yosemite
sha1 "8efb125df0553a8c7e764c02846e258f8de73ebd" => :mavericks
sha1 "9fedd7c2ae4b463a0ff730e29a0e493274896d2b" => :mountain_lion
end
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