diff options
| author | Adam Vandenberg | 2009-07-28 10:52:37 +0800 | 
|---|---|---|
| committer | Max Howell | 2009-07-28 18:47:45 +0800 | 
| commit | dde881b848917c1beb38ed1bec22eaee523e8274 (patch) | |
| tree | 9e653ba6016919c69a2c34e41b7ff1d2fa650750 /Library/Formula/mysql-connector-c.rb | |
| parent | dd583386dd121557b668de80e06be392a027b5d4 (diff) | |
| download | homebrew-dde881b848917c1beb38ed1bec22eaee523e8274.tar.bz2 | |
Recipe for mysql client library.
Signed-off-by: Max Howell <max@methylblue.com>
Diffstat (limited to 'Library/Formula/mysql-connector-c.rb')
| -rw-r--r-- | Library/Formula/mysql-connector-c.rb | 17 | 
1 files changed, 17 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..c661aacac --- /dev/null +++ b/Library/Formula/mysql-connector-c.rb @@ -0,0 +1,17 @@ +require 'brewkit' + +class MysqlConnectorC <Formula +  @homepage='http://dev.mysql.com/downloads/connector/c/6.0.html' +  @url='http://mysql.llarian.net/Downloads/Connector-C/mysql-connector-c-6.0.1.tar.gz' +  @md5='348a869fa72957062ea4e7ad3865623c' + +  def deps +    BinaryDep.new 'cmake' +  end + +  def install +    system "cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=#{prefix}" +    system 'make' +    system 'make install' +  end +end | 
