Files
tigerbrew/Library/Formula/pound.rb
T
Jack Nagel a65e482b8b Use Homebrew's pcre where appropriate
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>
2012-02-24 16:51:33 -06:00

21 lines
490 B
Ruby

require 'formula'
class Pound < Formula
homepage 'http://www.apsis.ch/pound'
url 'http://www.apsis.ch/pound/Pound-2.6.tgz'
md5 '8c913b527332694943c4c67c8f152071'
depends_on 'pcre'
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
system "./configure", "--prefix=#{prefix}"
system "make"
# Manual install to get around group issues
sbin.install "pound", "poundctl"
man8.install "pound.8", "poundctl.8"
end
end