diff options
| author | Sascha Koch | 2013-05-31 13:46:43 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-31 13:02:51 -0700 |
| commit | 759abaa6f7955c81ff18d8156aad17438587fd77 (patch) | |
| tree | 8b620f2c30e008ed473583fbfb2758b915adc1b8 /Library | |
| parent | 5f9d4e35b58bbe9b6c230198333ceb7b315ec33d (diff) | |
| download | homebrew-759abaa6f7955c81ff18d8156aad17438587fd77.tar.bz2 | |
gearman 1.1.7
Closes #20175.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gearman.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/gearman.rb b/Library/Formula/gearman.rb index 49b518925..741627ddb 100644 --- a/Library/Formula/gearman.rb +++ b/Library/Formula/gearman.rb @@ -2,16 +2,22 @@ require 'formula' class Gearman < Formula homepage 'http://gearman.org/' - url 'https://launchpad.net/gearmand/1.2/1.1.5/+download/gearmand-1.1.5.tar.gz' - sha1 '516c7690551ea214198a7502a85e976c136b8d65' + url 'https://launchpad.net/gearmand/1.2/1.1.7/+download/gearmand-1.1.7.tar.gz' + sha1 '4dbbdfbbfd184f1902fc5b139ec250dc6f260bc8' + + option 'with-mysql', 'Compile with MySQL persistent queue enabled' depends_on 'pkg-config' => :build depends_on 'boost' depends_on 'libevent' depends_on 'ossp-uuid' + depends_on :mysql if build.include? 'with-mysql' def install - system "./configure", "--prefix=#{prefix}", "--without-mysql" + args = ["--prefix=#{prefix}"] + args << "--with-mysql" if build.include? 'with-mysql' + + system "./configure", *args system "make install" end |
