aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pcre.rb
blob: 19e34013e02c7239552a65e8c3a813ea72f9578a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Pcre <Formula
  url 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.bz2'
  homepage 'http://www.pcre.org/'
  md5 '780867a700e9d4e4b9cb47aa5453e4b2'

  def install
    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