blob: 8a6cafacc9a3f26a3df39f9ea0eed1129a24c7ec (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 | require 'formula'
class Mysqlxx < Formula
  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
 |