mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
We provide a pcre formula as OS X does not provide libpcre headers. However, it does provide the library itself and so occasionally things will use Homebrew's pcre headers and link against the system library. This should be avoided to prevent incompatibilities, so explicitly tell the build system where to look for the library where necessary. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
525 B
Ruby
19 lines
525 B
Ruby
require 'formula'
|
|
|
|
class Pcrexx < Formula
|
|
homepage 'http://www.daemon.de/PCRE'
|
|
url 'http://www.daemon.de/idisk/Apps/pcre++/pcre++-0.9.5.tar.gz'
|
|
md5 '1fe6ea8e23ece01fde2ce5fb4746acc2'
|
|
|
|
depends_on 'pcre'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}",
|
|
"--with-pcre-dir-lib=#{HOMEBREW_PREFIX}"
|
|
system "make install"
|
|
end
|
|
end
|