aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pcre.rb18
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