homebrew-core/Formula/pcre.rb
2010-03-31 20:54:40 +02:00

22 lines
535 B
Ruby

require 'formula'
class Pcre <Formula
url 'ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.02.tar.bz2'
homepage 'http://www.pcre.org/'
md5 '27948c1b5f5c1eabc23cba1ebe4c316f'
def install
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