2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-31 05:31:16 +00:00
|
|
|
|
|
|
|
class Pcre <Formula
|
2010-08-02 11:59:26 +00:00
|
|
|
url 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.10.tar.bz2'
|
2010-02-04 23:07:44 +00:00
|
|
|
homepage 'http://www.pcre.org/'
|
2010-08-02 11:59:26 +00:00
|
|
|
md5 '780867a700e9d4e4b9cb47aa5453e4b2'
|
2009-08-31 05:31:16 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-25 17:06:19 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-utf8",
|
|
|
|
"--enable-unicode-properties",
|
|
|
|
"--enable-pcregrep-libz",
|
|
|
|
"--enable-pcregrep-libbz2"
|
2010-08-02 11:59:26 +00:00
|
|
|
system "make test"
|
2009-08-31 05:31:16 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|