2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-07-28 02:52:37 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MysqlConnectorC < Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
homepage 'http://dev.mysql.com/downloads/connector/c/6.0.html'
|
|
|
|
url 'http://mysql.llarian.net/Downloads/Connector-C/mysql-connector-c-6.0.2.tar.gz'
|
|
|
|
md5 'f922b778abdd25f7c1c95a8329144d56'
|
2009-07-28 02:52:37 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2009-07-28 02:52:37 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2334
|
|
|
|
cause "Unsupported inline asm"
|
|
|
|
end
|
2011-03-21 21:24:22 +00:00
|
|
|
|
2009-07-28 02:52:37 +00:00
|
|
|
def install
|
2012-02-22 05:12:27 +00:00
|
|
|
system "cmake #{std_cmake_parameters} ."
|
2009-11-05 21:06:26 +00:00
|
|
|
system 'make'
|
|
|
|
ENV.j1
|
2009-07-28 02:52:37 +00:00
|
|
|
system 'make install'
|
|
|
|
end
|
|
|
|
end
|