homebrew-core/Formula/pound.rb
2012-09-03 11:36:42 -07:00

20 lines
499 B
Ruby

require 'formula'
class Pound < Formula
homepage 'http://www.apsis.ch/pound'
url 'http://www.apsis.ch/pound/Pound-2.6.tgz'
sha1 '91ba84c6db579b06dc82fceb790e55e344b1dc40'
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