61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
14 lines
363 B
Ruby
14 lines
363 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='67e478df66e8f66536e54388cfa29854'
|
|
|
|
depends_on 'cmake'
|
|
|
|
def install
|
|
system "cmake . #{std_cmake_parameters}"
|
|
system 'make install'
|
|
end
|
|
end
|