blob: b11586596610199f5c9b480441ede2d1dec5a5c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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
|