diff options
| author | David Höppner | 2010-02-05 00:07:44 +0100 |
|---|---|---|
| committer | David Höppner | 2010-02-05 00:07:44 +0100 |
| commit | f5ffd1f7004700f2bea4b85690d56f2d18ea0135 (patch) | |
| tree | 91ddc8d5c2fdc1e7b9111ee5b4dc2d3e5eef7a2a /Library/Formula | |
| parent | 82792a89e63274ba557288a900872dfedd035948 (diff) | |
| download | homebrew-f5ffd1f7004700f2bea4b85690d56f2d18ea0135.tar.bz2 | |
pcre: version update from 7.9 to 8.01, add unicode support and lib{z,bz2}
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pcre.rb | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Library/Formula/pcre.rb b/Library/Formula/pcre.rb index 6ef09a8c5..909c13e9a 100644 --- a/Library/Formula/pcre.rb +++ b/Library/Formula/pcre.rb @@ -1,12 +1,22 @@ require 'formula' class Pcre <Formula - @url='ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2' - @homepage='http://www.pcre.org/' - @md5='b6a9669d1863423f01ea46cdf00f93dc' + url 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.01.tar.bz2' + homepage 'http://www.pcre.org/' + md5 '413be1c23dabe91f637fb3770f640006' def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + configure_args = [ + "--prefix=#{prefix}", + "--disable-debug", + "--disable-dependency-tracking", + "--enable-utf8", + "--enable-unicode-properties", + "--enable-pcregrep-libz", + "--enable-pcregrep-libbz2", + ] + + system "./configure", *configure_args system "make install" end end |
