2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-31 05:31:16 +00:00
|
|
|
|
|
|
|
class Pcre <Formula
|
2010-03-31 18:54:40 +00:00
|
|
|
url 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.02.tar.bz2'
|
2010-02-04 23:07:44 +00:00
|
|
|
homepage 'http://www.pcre.org/'
|
2010-03-31 18:54:40 +00:00
|
|
|
md5 '27948c1b5f5c1eabc23cba1ebe4c316f'
|
2009-08-31 05:31:16 +00:00
|
|
|
|
|
|
|
def install
|
2010-02-04 23:07:44 +00:00
|
|
|
configure_args = [
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--enable-utf8",
|
|
|
|
"--enable-unicode-properties",
|
|
|
|
"--enable-pcregrep-libz",
|
|
|
|
"--enable-pcregrep-libbz2",
|
|
|
|
]
|
|
|
|
|
|
|
|
system "./configure", *configure_args
|
2009-08-31 05:31:16 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|