homebrew-core/Formula/pcre.rb

23 lines
535 B
Ruby
Raw Normal View History

require 'formula'
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'
homepage 'http://www.pcre.org/'
2010-03-31 18:54:40 +00:00
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