Embedded server option in mysql formula.

New option in mysql formula which commands to build embedded server
static library (libmysqld.a) needed by various software (e.g. Amarok).

Closes Homebrew/homebrew#4008.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Sebastian Skalacki 2011-01-25 14:39:46 +01:00 committed by Mike McQuaid
parent d20052dc51
commit aba69eea0b
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ class Mysql <Formula
[
['--with-tests', "Keep tests when installing."],
['--with-bench', "Keep benchmark app when installing."],
['--with-embedded', "Build the embedded server."],
['--client-only', "Only install client tools, not the server."],
['--universal', "Make mysql a universal binary"]
]
@ -49,6 +50,7 @@ class Mysql <Formula
"--with-partition"]
configure_args << "--without-server" if ARGV.include? '--client-only'
configure_args << "--with-embedded-server" if ARGV.include? '--with-embedded'
system "./configure", *configure_args
system "make install"