7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
17 lines
441 B
Ruby
17 lines
441 B
Ruby
require 'formula'
|
|
|
|
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.2.tar.gz'
|
|
md5 'f922b778abdd25f7c1c95a8329144d56'
|
|
|
|
depends_on 'cmake'
|
|
|
|
def install
|
|
fails_with_llvm "error: unsupported inline asm"
|
|
system "cmake . #{std_cmake_parameters}"
|
|
system 'make'
|
|
ENV.j1
|
|
system 'make install'
|
|
end
|
|
end
|