diff options
| author | Xiyue Deng | 2011-09-10 03:00:10 -0700 | 
|---|---|---|
| committer | Jack Nagel | 2011-09-13 20:39:27 -0500 | 
| commit | e45362296e2263e679d3f50a6548db92cf981707 (patch) | |
| tree | ad482d2dd9a969a1176077c4fec23ef69e577265 | |
| parent | 294b9b477172443f56da20b21053933488c56a35 (diff) | |
| download | homebrew-e45362296e2263e679d3f50a6548db92cf981707.tar.bz2 | |
New formula: MySQL Connector/C++
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/mysql-connector-c++.rb | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/Library/Formula/mysql-connector-c++.rb b/Library/Formula/mysql-connector-c++.rb new file mode 100644 index 000000000..252a50368 --- /dev/null +++ b/Library/Formula/mysql-connector-c++.rb @@ -0,0 +1,16 @@ +require 'formula' + +class MysqlConnectorCxx < Formula +  url 'http://mysql.he.net/Downloads/Connector-C++/mysql-connector-c++-1.1.0.tar.gz' +  homepage 'http://dev.mysql.com/downloads/connector/cpp/' +  md5 '0981bda6548a8c8233ffce2b6e4b2a23' + +  depends_on 'cmake' => :build +  depends_on 'boost' => :build + +  def install +    system "cmake . #{std_cmake_parameters}" +    ENV.j1 +    system "make install" +  end +end | 
