New formula: trafficserver-3.0.2 (http://trafficserver.apache.org/)
Closes Homebrew/homebrew#9513. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
7bd16daaf0
commit
f4386fb2a2
1 changed files with 22 additions and 0 deletions
22
Formula/trafficserver.rb
Normal file
22
Formula/trafficserver.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
require 'formula'
|
||||
|
||||
class Trafficserver < Formula
|
||||
url 'http://www.apache.org/dyn/closer.cgi/trafficserver/trafficserver-3.0.2.tar.bz2'
|
||||
homepage 'http://trafficserver.apache.org/'
|
||||
md5 '0f8e5ce658d28511001c6585d1e1813a'
|
||||
|
||||
depends_on 'pcre'
|
||||
|
||||
def install
|
||||
# Needed for correct ./configure detections.
|
||||
ENV.enable_warnings
|
||||
# Needed for OpenSSL headers on Lion.
|
||||
ENV.append_to_cflags "-Wno-deprecated-declarations"
|
||||
system "./configure", "--prefix=#{prefix}", "--with-user=#{ENV['USER']}", "--with-group=admin"
|
||||
system "make install"
|
||||
end
|
||||
|
||||
def test
|
||||
system "trafficserver status"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue