diff options
| author | Dominyk Tiller | 2015-01-22 02:53:19 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-22 20:49:45 +0100 |
| commit | 5213910d5115ba8f66db56c00c58de7433ba027b (patch) | |
| tree | 61369200a3aacf36bac4839c7095d094e7627d28 /Library | |
| parent | 4b10c0711d96296e6d66c12175999548059d09a4 (diff) | |
| download | homebrew-5213910d5115ba8f66db56c00c58de7433ba027b.tar.bz2 | |
haproxy 1.5.10
Version bump, style nits, basic test.
Closes #36121.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/haproxy.rb | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/Library/Formula/haproxy.rb b/Library/Formula/haproxy.rb index 1671ee6f9..80af11283 100644 --- a/Library/Formula/haproxy.rb +++ b/Library/Formula/haproxy.rb @@ -1,9 +1,7 @@ -require "formula" - class Haproxy < Formula homepage "http://haproxy.1wt.eu" - url "http://www.haproxy.org/download/1.5/src/haproxy-1.5.9.tar.gz" - sha1 "62620311db4b18f10464ffcbcc0398161f5c8a6b" + url "http://www.haproxy.org/download/1.5/src/haproxy-1.5.10.tar.gz" + sha1 "2af3b740e84f10cbd0c90a78c30a222a24fb2945" bottle do cellar :any @@ -16,13 +14,14 @@ class Haproxy < Formula depends_on "pcre" def install - args = ["TARGET=generic", - "USE_KQUEUE=1", - "USE_POLL=1", - "USE_PCRE=1", - "USE_OPENSSL=1", - "USE_ZLIB=1", - "ADDLIB=-lcrypto", + args = %w[ + TARGET=generic + USE_KQUEUE=1 + USE_POLL=1 + USE_PCRE=1 + USE_OPENSSL=1 + USE_ZLIB=1 + ADDLIB=-lcrypto ] # We build generic since the Makefile.osx doesn't appear to work @@ -30,4 +29,8 @@ class Haproxy < Formula man1.install "doc/haproxy.1" bin.install "haproxy" end + + test do + system bin/"haproxy", "-v" + end end |
