homebrew-core/Formula/pcre.rb
Juan Sebastian Casallas 34056b02f9 pcre 8.20
-Updated url and md5 to download the 8.20 tarball

Closes Homebrew/homebrew#8685.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-19 14:33:08 -06:00

26 lines
770 B
Ruby

require 'formula'
class Pcre < Formula
url 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.20.tar.bz2'
homepage 'http://www.pcre.org/'
md5 'a1931c70e1273e3450d5036fe273d25c'
fails_with_llvm "Bus error in ld on SL 10.6.4", :build => 2326
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-utf8",
"--enable-unicode-properties",
"--enable-pcregrep-libz",
"--enable-pcregrep-libbz2"
system "make test"
system "make install"
end
end