129c680945
Apparently OS X doesn't include the PCRE headers, which szl's configure looks for, even though it ends up linking against the system PCRE dylib. See nginx for similar behavior. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
507 B
Ruby
19 lines
507 B
Ruby
require 'formula'
|
|
|
|
class Szl < Formula
|
|
url 'http://szl.googlecode.com/files/szl-1.0.tar.gz'
|
|
homepage 'http://code.google.com/p/szl/'
|
|
md5 'd25f73b2adf4b92229d8b451685506d1'
|
|
|
|
depends_on 'binutils' # For objdump
|
|
depends_on 'icu4c'
|
|
depends_on 'protobuf' # for protoc
|
|
depends_on 'pcre'
|
|
|
|
def install
|
|
ENV['OBJDUMP'] = "#{HOMEBREW_PREFIX}/bin/gobjdump"
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|